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
This commit is contained in:
mkanat%bugzilla.org 2012-08-29 14:46:08 +00:00
parent 116a14ddfd
commit d40bf68cd1
2 changed files with 1 additions and 10 deletions

View File

@ -1 +1 @@
8363
8364

View 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