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 --- userprefs.cgi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'userprefs.cgi') diff --git a/userprefs.cgi b/userprefs.cgi index 07bc048cc..796f2e0f9 100755 --- a/userprefs.cgi +++ b/userprefs.cgi @@ -35,7 +35,10 @@ use Bugzilla::User; require "globals.pl"; # Use global template variables. -use vars qw($template $vars $userid); +use vars qw($userid); + +my $template = Bugzilla->template; +my $vars = {}; ############################################################################### # Each panel has two functions - panel Foo has a DoFoo, to get the data -- cgit v1.2.3-24-g4f1b