summaryrefslogtreecommitdiffstats
path: root/showdependencygraph.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'showdependencygraph.cgi')
-rwxr-xr-xshowdependencygraph.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi
index 39508290d..fee477f3a 100755
--- a/showdependencygraph.cgi
+++ b/showdependencygraph.cgi
@@ -36,12 +36,14 @@ require "globals.pl";
Bugzilla->login();
my $cgi = Bugzilla->cgi;
+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();
-use vars qw($template $vars $userid);
+use vars qw($userid);
my %seen;
my %edgesdone;