Commit b558c356 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 782856: Remove the obsolete BEGIN block in Bugzilla/CGI.pm

r=glob a=LpSolit
parent 8bfd3ae4
...@@ -16,15 +16,6 @@ use Bugzilla::Search::Recent; ...@@ -16,15 +16,6 @@ use Bugzilla::Search::Recent;
use File::Basename; 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 { sub _init_bz_cgi_globals {
my $invocant = shift; my $invocant = shift;
# We need to disable output buffering - see bug 179174 # We need to disable output buffering - see bug 179174
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment