From fffe0a9aad648dda351e9ee3d8f7ce883f62d381 Mon Sep 17 00:00:00 2001 From: Vladimir Panteleev Date: Thu, 15 Mar 2018 13:48:24 +0000 Subject: [PATCH] extensions/ProdCompSearch/lib/WebService.pm: Delete BMO-specific shortcut --- extensions/ProdCompSearch/lib/WebService.pm | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/extensions/ProdCompSearch/lib/WebService.pm b/extensions/ProdCompSearch/lib/WebService.pm index 21d8a16537..a0a7acf090 100644 --- a/extensions/ProdCompSearch/lib/WebService.pm +++ b/extensions/ProdCompSearch/lib/WebService.pm @@ -117,18 +117,6 @@ sub prod_comp_search { } return {products => []} if !scalar @terms; - # To help Mozilla staff file BMO administration bugs into the right - # component, sort BMO first when searching for 'bugzilla' - if ( - $search =~ /bugzilla/i - && $search !~ /^bugzilla\s*::/i - && ( $user->in_group('mozilla-corporation') - || $user->in_group('mozilla-foundation')) - ) - { - unshift @order, "products.name != 'bugzilla.mozilla.org'"; - } - my $components = $dbh->selectall_arrayref(" SELECT products.name AS product, components.name AS component