diff options
Diffstat (limited to 'showdependencytree.cgi')
-rwxr-xr-x | showdependencytree.cgi | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/showdependencytree.cgi b/showdependencytree.cgi index 7c3b99465..dede3e1c7 100755 --- a/showdependencytree.cgi +++ b/showdependencytree.cgi @@ -30,12 +30,11 @@ require "globals.pl"; use Bugzilla::User; use Bugzilla::Bug; -# Use global template variables. -use vars qw($template $vars); - 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. |