summaryrefslogtreecommitdiffstats
path: root/showdependencygraph.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-xshowdependencygraph.cgi4
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;