diff options
author | 2004-02-14 18:54:51 +0000 | |
---|---|---|
committer | 2004-02-14 18:54:51 +0000 | |
commit | 6b740b9f365d75fb9765d23a042378d16a3abeb0 (patch) | |
tree | 74584fc5396c0ed3ecc5d65ad9f71e25c593c269 /index.cgi | |
parent | Bug 233645 - fix a number of 'undef' warnings which were killing performance ... (diff) | |
download | bugzilla-6b740b9f365d75fb9765d23a042378d16a3abeb0.tar.gz bugzilla-6b740b9f365d75fb9765d23a042378d16a3abeb0.tar.bz2 bugzilla-6b740b9f365d75fb9765d23a042378d16a3abeb0.zip |
Patch for bug 234171; removes \%COOKIE from index.cgi; patch by Teemu Mannermaa <wicked@etlicon.fi>; r=gerv; a=justdave.
Diffstat (limited to 'index.cgi')
-rwxr-xr-x | index.cgi | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -21,10 +21,6 @@ # Contributor(s): Jacob Steenhagen <jake@bugzilla.org> # -# 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(); |