aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-01-06 08:55:59 +0000
committermkanat%bugzilla.org <>2008-01-06 08:55:59 +0000
commit45c7f0a197c573f3aadc4152f421406f9bd16025 (patch)
tree12563106830c96eeebfd610a88ae364027773604 /mod_perl.pl
parentBug 407420: CGI::Carp fatalsToBrowser should happen as early as possible (diff)
downloadbugzilla-45c7f0a197c573f3aadc4152f421406f9bd16025.tar.gz
bugzilla-45c7f0a197c573f3aadc4152f421406f9bd16025.tar.bz2
bugzilla-45c7f0a197c573f3aadc4152f421406f9bd16025.zip
CGI::Carp qw(fatalsToBrowser) doesn't work under mod_perl (per its POD),
so I had to fix the last checkin.
Diffstat (limited to 'mod_perl.pl')
-rw-r--r--mod_perl.pl4
1 files changed, 0 insertions, 4 deletions
diff --git a/mod_perl.pl b/mod_perl.pl
index fccc25fb2..fe78c4be9 100644
--- a/mod_perl.pl
+++ b/mod_perl.pl
@@ -93,10 +93,6 @@ sub handler : method {
# here explicitly or init_page's shutdownhtml code won't work right.
$0 = $ENV{'SCRIPT_FILENAME'};
- # Make all errors go to the browser, not the log.
- require CGI::Carp;
- CGI::Carp->import('fatalsToBrowser');
-
Bugzilla::init_page();
return $class->SUPER::handler(@_);
}