aboutsummaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/buglist.cgi b/buglist.cgi
index be55f22b6..df6d136de 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -49,9 +49,7 @@ sub sillyness {
my $serverpush = 0;
-my $useshadow = Param("queryagainstshadowdb");
-
-ConnectToDatabase($useshadow);
+ConnectToDatabase();
# print "Content-type: text/plain\n\n"; # Handy for debugging.
# $::FORM{'debug'} = 1;
@@ -875,6 +873,8 @@ query. You will have to start over at the <A HREF="query.cgi">query page</A>.
+ReconnectToShadowDatabase();
+
my $query = GenerateSQL(\@fields, undef, undef, $::buffer);