From a17184b036adc336f6810444163b1c7d9aa35ee1 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Sun, 26 Aug 2018 02:13:32 -0400 Subject: remove old IIS thing --- Bugzilla.pm | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Bugzilla.pm b/Bugzilla.pm index 596824b6d..eddc186ee 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -114,20 +114,6 @@ sub init_page { # 001compile.t test). return if $^C; - # IIS prints out warnings to the webpage, so ignore them, or log them - # to a file if the file exists. - if ($ENV{SERVER_SOFTWARE} && $ENV{SERVER_SOFTWARE} =~ /microsoft-iis/i) { - $SIG{__WARN__} = sub { - my ($msg) = @_; - my $datadir = bz_locations()->{'datadir'}; - if (-w "$datadir/errorlog") { - my $warning_log = new IO::File(">>$datadir/errorlog"); - print $warning_log $msg; - $warning_log->close(); - } - }; - } - my $script = basename($0); # Because of attachment_base, attachment.cgi handles this itself. -- cgit v1.2.3-24-g4f1b