From 03352ccf9bdb6b816e0650f8f76e008a17df87c0 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 14 Nov 2005 01:50:47 +0000 Subject: =?UTF-8?q?Bug=20313695:=20buglist.cgi=20and=20some=20other=20scri?= =?UTF-8?q?pts=20do=20not=20use=20the=20shadow=20DB=20anymore=20-=20Patch?= =?UTF-8?q?=20by=20Fr=C3=A9d=C3=A9ric=20Buclin=20=20r/a?= =?UTF-8?q?=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- report.cgi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'report.cgi') diff --git a/report.cgi b/report.cgi index 4e2152542..7286c551e 100755 --- a/report.cgi +++ b/report.cgi @@ -35,7 +35,6 @@ my $cgi = Bugzilla->cgi; my $template = Bugzilla->template; my $vars = {}; my $buffer = $cgi->query_string(); -my $dbh = Bugzilla->dbh; # Go straight back to query.cgi if we are adding a boolean chart. if (grep(/^cmd-/, $cgi->param())) { @@ -53,7 +52,7 @@ GetVersionTable(); Bugzilla->login(LOGIN_REQUIRED); -Bugzilla->switch_to_shadow_db(); +my $dbh = Bugzilla->switch_to_shadow_db(); my $action = $cgi->param('action') || 'menu'; -- cgit v1.2.1