summaryrefslogtreecommitdiffstats
path: root/config.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-10-25 08:11:55 +0200
committerlpsolit%gmail.com <>2005-10-25 08:11:55 +0200
commit44de29d04d1ca7e3b047b2a847508dc949c29038 (patch)
tree934c0ccce39c238b3bf6a0337014e6f1fde9918b /config.cgi
parent46aba0e761e99db24b5de10f13bbc108fdc982a4 (diff)
downloadbugzilla-44de29d04d1ca7e3b047b2a847508dc949c29038.tar.gz
bugzilla-44de29d04d1ca7e3b047b2a847508dc949c29038.tar.xz
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 'config.cgi')
-rwxr-xr-xconfig.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.cgi b/config.cgi
index 860115c81..bea4f6faa 100755
--- a/config.cgi
+++ b/config.cgi
@@ -51,7 +51,6 @@ use vars
# Use the global template variables defined in globals.pl
# to generate the output.
-use vars qw($vars);
my $user = Bugzilla->login(LOGIN_OPTIONAL);
@@ -65,6 +64,7 @@ if (Param('requirelogin') && !$user->id) {
GetVersionTable();
# Pass a bunch of Bugzilla configuration to the templates.
+my $vars = {};
$vars->{'priority'} = \@::legal_priority;
$vars->{'severity'} = \@::legal_severity;
$vars->{'platform'} = \@::legal_platform;