summaryrefslogtreecommitdiffstats
path: root/reports.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'reports.cgi')
-rwxr-xr-xreports.cgi4
1 files changed, 0 insertions, 4 deletions
diff --git a/reports.cgi b/reports.cgi
index bdd8e9352..e8191a0d0 100755
--- a/reports.cgi
+++ b/reports.cgi
@@ -84,10 +84,6 @@ if (! defined $cgi->param('product')) {
grep($_ eq $product, @myproducts)
|| ThrowUserError("invalid_product_name", {product => $product});
- # We don't want people to be able to view
- # reports for products they don't have permissions for...
- if ($product ne '-All-') { CanEnterProductOrWarn($product) }
-
# We've checked that the product exists, and that the user can see it
# This means that is OK to detaint
trick_taint($product);