From f3f8239ff36c892c0437fc8054a68e07d7ca0020 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Mon, 7 Apr 2014 14:42:08 +0000 Subject: Bug 990982 - backport bug 539894 to bmo (Use to group products into classifications in the product drop-down on show_bug.cgi) r=glob --- reports.cgi | 6 ------ 1 file changed, 6 deletions(-) (limited to 'reports.cgi') diff --git a/reports.cgi b/reports.cgi index 01bbb50c7..edc7eb55b 100755 --- a/reports.cgi +++ b/reports.cgi @@ -77,13 +77,7 @@ if (!$product_name) { push(@datasets, $datasets); } - # We only want those products that the user has permissions for. - my @myproducts = ('-All-'); - # Extract product names from objects and add them to the list. - push( @myproducts, map { $_->name } @{$user->get_selectable_products} ); - $vars->{'datasets'} = \@datasets; - $vars->{'products'} = \@myproducts; print $cgi->header(); } -- cgit v1.2.3-24-g4f1b