]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 782856: Remove the obsolete BEGIN block in Bugzilla/CGI.pm
authorFrédéric Buclin <LpSolit@gmail.com>
Wed, 29 Aug 2012 14:31:10 +0000 (16:31 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 29 Aug 2012 14:31:10 +0000 (16:31 +0200)
r=glob a=LpSolit

Bugzilla/CGI.pm

index 2bc7cc592cab69ccf212802ddb6f96ceffb4b4da..a68195f224302e907b350bd3196e09293ae99855 100644 (file)
@@ -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