From b558c3562a30b140871d6b0a21f2d4c8b4340dbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= <LpSolit@gmail.com>
Date: Wed, 29 Aug 2012 16:31:10 +0200
Subject: [PATCH] Bug 782856: Remove the obsolete BEGIN block in
 Bugzilla/CGI.pm r=glob a=LpSolit

---
 Bugzilla/CGI.pm | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm
index 2bc7cc592..a68195f22 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
-- 
2.24.1