From 44de29d04d1ca7e3b047b2a847508dc949c29038 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 25 Oct 2005 06:11:55 +0000 Subject: Bug 312157: Remove $::template and $::vars from globals.pl - Patch by Olav Vitters r=LpSolit a=justdave --- showdependencytree.cgi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'showdependencytree.cgi') 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. -- cgit v1.2.3-24-g4f1b