From d40bf68cd1966c62d4391ff6046181bdc79a7fb7 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" Date: Wed, 29 Aug 2012 14:46:08 +0000 Subject: [PATCH] Bug 782856: Remove the obsolete BEGIN block in Bugzilla/CGI.pm r=glob a=LpSolit git-svn-id: svn://10.0.0.236/trunk@264170 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/.bzrrev | 2 +- mozilla/webtools/bugzilla/Bugzilla/CGI.pm | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index dfdc35f3d8c..77d1e3b24a8 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -8363 \ No newline at end of file +8364 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/Bugzilla/CGI.pm b/mozilla/webtools/bugzilla/Bugzilla/CGI.pm index 2bc7cc592ca..a68195f2243 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/CGI.pm +++ b/mozilla/webtools/bugzilla/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