aboutsummaryrefslogtreecommitdiffstats
path: root/duplicates.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-11-14 01:50:47 +0000
committerlpsolit%gmail.com <>2005-11-14 01:50:47 +0000
commit03352ccf9bdb6b816e0650f8f76e008a17df87c0 (patch)
tree8a641b8c42abdd70b94bb3a9c87fe9a0788cb6be /duplicates.cgi
parente4fa51953ec018c733040ccf9a478b2e8aac0bac (diff)
downloadbugs-03352ccf9bdb6b816e0650f8f76e008a17df87c0.tar
bugs-03352ccf9bdb6b816e0650f8f76e008a17df87c0.tar.gz
bugs-03352ccf9bdb6b816e0650f8f76e008a17df87c0.tar.bz2
bugs-03352ccf9bdb6b816e0650f8f76e008a17df87c0.tar.xz
bugs-03352ccf9bdb6b816e0650f8f76e008a17df87c0.zip
Bug 313695: buglist.cgi and some other scripts do not use the shadow DB anymore - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
Diffstat (limited to 'duplicates.cgi')
-rwxr-xr-xduplicates.cgi3
1 files changed, 1 insertions, 2 deletions
diff --git a/duplicates.cgi b/duplicates.cgi
index 07bddc688..10ba5bf2b 100755
--- a/duplicates.cgi
+++ b/duplicates.cgi
@@ -37,7 +37,6 @@ use Bugzilla::Config qw(:DEFAULT $datadir);
use Bugzilla::Constants;
my $cgi = Bugzilla->cgi;
-my $dbh = Bugzilla->dbh;
# Go directly to the XUL version of the duplicates report (duplicates.xul)
# if the user specified ctype=xul. Adds params if they exist, and directs
@@ -66,7 +65,7 @@ else {
Bugzilla->login();
}
-Bugzilla->switch_to_shadow_db();
+my $dbh = Bugzilla->switch_to_shadow_db();
use vars qw (@legal_product);