summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-08-26 08:13:32 +0200
committerDylan William Hardison <dylan@hardison.net>2018-08-26 08:13:32 +0200
commita17184b036adc336f6810444163b1c7d9aa35ee1 (patch)
tree19467b4ef77a880019559a2691998fcf01ab22cf
parent0b366bcb2705a4dfa0f2db09992698f4a41317b1 (diff)
downloadbugzilla-a17184b036adc336f6810444163b1c7d9aa35ee1.tar.gz
bugzilla-a17184b036adc336f6810444163b1c7d9aa35ee1.tar.xz
remove old IIS thing
-rw-r--r--Bugzilla.pm14
1 files changed, 0 insertions, 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.