summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2012-08-29 16:31:10 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2012-08-29 16:31:10 +0200
commitb558c3562a30b140871d6b0a21f2d4c8b4340dbe (patch)
tree62d5625e121aa51d40515b40a8a676e1177cd4fa
parent8bfd3ae4ee74f0d6f08edbbeca808acdd7284daf (diff)
downloadbugzilla-b558c3562a30b140871d6b0a21f2d4c8b4340dbe.tar.gz
bugzilla-b558c3562a30b140871d6b0a21f2d4c8b4340dbe.tar.xz
Bug 782856: Remove the obsolete BEGIN block in Bugzilla/CGI.pm
r=glob a=LpSolit
-rw-r--r--Bugzilla/CGI.pm9
1 files changed, 0 insertions, 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