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 --- config.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.cgi') 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; -- cgit v1.2.3-24-g4f1b