aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-10-25 06:11:55 +0000
committerlpsolit%gmail.com <>2005-10-25 06:11:55 +0000
commit44de29d04d1ca7e3b047b2a847508dc949c29038 (patch)
tree934c0ccce39c238b3bf6a0337014e6f1fde9918b /userprefs.cgi
parentBug 313209: Oracle requires "CASE WHEN" around boolean expressions in the SEL... (diff)
downloadbugzilla-44de29d04d1ca7e3b047b2a847508dc949c29038.tar.gz
bugzilla-44de29d04d1ca7e3b047b2a847508dc949c29038.tar.bz2
bugzilla-44de29d04d1ca7e3b047b2a847508dc949c29038.zip
Bug 312157: Remove $::template and $::vars from globals.pl - Patch by Olav Vitters <bugzilla-mozilla@bkor.dhs.org> r=LpSolit a=justdave
Diffstat (limited to 'userprefs.cgi')
-rwxr-xr-xuserprefs.cgi5
1 files changed, 4 insertions, 1 deletions
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