From bac12bd6b225e35cbae8ed306a466e576ce52e66 Mon Sep 17 00:00:00 2001 From: "dmose%mozilla.org" <> Date: Wed, 25 Oct 2000 09:34:13 +0000 Subject: The code was trying to use ConnectToDatabase to connect to the shadow db after quietly_check_login() had already called it for us under the covers _without_ the useshadowdb parameter. So reports were being run against the main database, triggering UI stalls. r=endico@mozilla.org --- reports.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reports.cgi') diff --git a/reports.cgi b/reports.cgi index dd081ad12..b48ad7133 100755 --- a/reports.cgi +++ b/reports.cgi @@ -57,6 +57,7 @@ my %reports = # 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(1); quietly_check_login(); print "Content-type: text/html\n"; @@ -74,7 +75,6 @@ else print("Bug Reports"); } -ConnectToDatabase(1); GetVersionTable(); # If the usebuggroups parameter is set, we don't want to list all products. -- cgit v1.2.3-24-g4f1b