summaryrefslogtreecommitdiffstats
path: root/reports.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'reports.cgi')
-rwxr-xr-xreports.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/reports.cgi b/reports.cgi
index b863249d6..01ce99277 100755
--- a/reports.cgi
+++ b/reports.cgi
@@ -56,8 +56,7 @@ use Bugzilla;
# If we're using bug groups for products, we should apply those restrictions
# to viewing reports, as well. Time to check the login in that case.
-ConnectToDatabase();
-quietly_check_login();
+Bugzilla->login();
GetVersionTable();