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 --- post_bug.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'post_bug.cgi') diff --git a/post_bug.cgi b/post_bug.cgi index 0965728b7..c1af2a5d0 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -48,12 +48,12 @@ sub sillyness { $zz = %::target_milestone; } -# Use global template variables. -use vars qw($vars $template); - my $user = Bugzilla->login(LOGIN_REQUIRED); + my $cgi = Bugzilla->cgi; my $dbh = Bugzilla->dbh; +my $template = Bugzilla->template; +my $vars = {}; # do a match on the fields if applicable -- cgit v1.2.3-24-g4f1b