From: mkanat%bugzilla.org <> Date: Sun, 6 Jan 2008 08:55:59 +0000 (+0000) Subject: CGI::Carp qw(fatalsToBrowser) doesn't work under mod_perl (per its POD), X-Git-Tag: bugzilla-3.1.3~405 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45c7f0a197c573f3aadc4152f421406f9bd16025;p=thirdparty%2Fbugzilla.git CGI::Carp qw(fatalsToBrowser) doesn't work under mod_perl (per its POD), so I had to fix the last checkin. --- diff --git a/mod_perl.pl b/mod_perl.pl index fccc25fb24..fe78c4be98 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(@_); }