]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
CGI::Carp qw(fatalsToBrowser) doesn't work under mod_perl (per its POD),
authormkanat%bugzilla.org <>
Sun, 6 Jan 2008 08:55:59 +0000 (08:55 +0000)
committermkanat%bugzilla.org <>
Sun, 6 Jan 2008 08:55:59 +0000 (08:55 +0000)
so I had to fix the last checkin.

mod_perl.pl

index fccc25fb2498546c57006d714923ac357253481e..fe78c4be98bb60d3a4ba5ff6ac5528e463d01a20 100644 (file)
@@ -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(@_);
 }