From 0f5d47f64e7687021df9fa76896ad02a5f7794a7 Mon Sep 17 00:00:00 2001 From: "kiko%async.com.br" <> Date: Thu, 30 Oct 2003 09:31:57 +0000 Subject: Fix for bug 67663: globals.pl and CGI.pl emit "subroutine redefined" messages. Fudge warnings via sillyness. r=myk, chaduv. a=myk. --- CGI.pl | 2 +- globals.pl | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CGI.pl b/CGI.pl index bcd9a7f90..982b067b2 100644 --- a/CGI.pl +++ b/CGI.pl @@ -42,7 +42,7 @@ use Bugzilla::Error; sub CGI_pl_sillyness { my $zz; - $zz = %::dontchange; + $zz = $::buffer; } use CGI::Carp qw(fatalsToBrowser); diff --git a/globals.pl b/globals.pl index 14568a60e..f9d19609c 100644 --- a/globals.pl +++ b/globals.pl @@ -39,7 +39,6 @@ use Bugzilla::Config qw(:DEFAULT ChmodDataFile); sub globals_pl_sillyness { my $zz; - $zz = @main::SqlStateStack; $zz = @main::default_column_list; $zz = $main::defaultqueryname; $zz = @main::enterable_products; -- cgit v1.2.3-24-g4f1b