diff options
author | lpsolit%gmail.com <> | 2005-11-14 01:50:47 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-11-14 01:50:47 +0000 |
commit | 03352ccf9bdb6b816e0650f8f76e008a17df87c0 (patch) | |
tree | 8a641b8c42abdd70b94bb3a9c87fe9a0788cb6be /showdependencygraph.cgi | |
parent | e4fa51953ec018c733040ccf9a478b2e8aac0bac (diff) | |
download | bugs-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 'showdependencygraph.cgi')
-rwxr-xr-x | showdependencygraph.cgi | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index 0bdaab3e6..8f94aa918 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -36,13 +36,11 @@ require "globals.pl"; Bugzilla->login(); my $cgi = Bugzilla->cgi; -my $dbh = Bugzilla->dbh; my $template = Bugzilla->template; my $vars = {}; - # Connect to the shadow database if this installation is using one to improve # performance. -Bugzilla->switch_to_shadow_db(); +my $dbh = Bugzilla->switch_to_shadow_db(); my %seen; my %edgesdone; |