From 6b740b9f365d75fb9765d23a042378d16a3abeb0 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Sat, 14 Feb 2004 18:54:51 +0000 Subject: Patch for bug 234171; removes \%COOKIE from index.cgi; patch by Teemu Mannermaa ; r=gerv; a=justdave. --- index.cgi | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'index.cgi') diff --git a/index.cgi b/index.cgi index f617965d3..bbe936207 100755 --- a/index.cgi +++ b/index.cgi @@ -21,10 +21,6 @@ # Contributor(s): Jacob Steenhagen # -# Suppress silly "used only once" warnings -use vars qw{ %COOKIE }; - - ############################################################################### # Script Initialization ############################################################################### @@ -37,7 +33,6 @@ use lib "."; require "CGI.pl"; use vars qw( - $template $vars ); @@ -52,8 +47,7 @@ quietly_check_login('permit_anonymous'); ############################################################################### my $cgi = Bugzilla->cgi; - -$vars->{'username'} = $::COOKIE{'Bugzilla_login'} || ''; +my $template = Bugzilla->template; # Return the appropriate HTTP response headers. print $cgi->header(); -- cgit v1.2.3-24-g4f1b