summaryrefslogtreecommitdiffstats
path: root/reports.cgi
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-04-07 16:42:08 +0200
committerDavid Lawrence <dkl@mozilla.com>2014-04-07 16:42:08 +0200
commitf3f8239ff36c892c0437fc8054a68e07d7ca0020 (patch)
tree3eb1e9f4ddde3f0e434927bfe285fb5ede1f8659 /reports.cgi
parent818b908a18de4862f060c64ad12f779ac8480f01 (diff)
downloadbugzilla-f3f8239ff36c892c0437fc8054a68e07d7ca0020.tar.gz
bugzilla-f3f8239ff36c892c0437fc8054a68e07d7ca0020.tar.xz
Bug 990982 - backport bug 539894 to bmo (Use <optgroup/> to group products into classifications in the product drop-down on show_bug.cgi)
r=glob
Diffstat (limited to 'reports.cgi')
-rwxr-xr-xreports.cgi6
1 files changed, 0 insertions, 6 deletions
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();
}