From: Frédéric Buclin Date: Wed, 29 Aug 2012 14:31:10 +0000 (+0200) Subject: Bug 782856: Remove the obsolete BEGIN block in Bugzilla/CGI.pm X-Git-Tag: bugzilla-4.3.3~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b558c3562a30b140871d6b0a21f2d4c8b4340dbe;p=thirdparty%2Fbugzilla.git Bug 782856: Remove the obsolete BEGIN block in Bugzilla/CGI.pm r=glob a=LpSolit --- diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 2bc7cc592c..a68195f224 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -16,15 +16,6 @@ use Bugzilla::Search::Recent; use File::Basename; -BEGIN { - if (ON_WINDOWS) { - # Help CGI find the correct temp directory as the default list - # isn't Windows friendly (Bug 248988) - $ENV{'TMPDIR'} = $ENV{'TEMP'} || $ENV{'TMP'} || "$ENV{'WINDIR'}\\TEMP"; - } - *AUTOLOAD = \&CGI::AUTOLOAD; -} - sub _init_bz_cgi_globals { my $invocant = shift; # We need to disable output buffering - see bug 179174