summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-05-21 05:16:37 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:41:56 +0200
commit873074873fe5e27e853e5ce3d83b078280a29c2a (patch)
tree43cc385ce49a98429151329a370ab7225b52dfc3 /Bugzilla.pm
parent889d8ad22855191773dd45e67272650d0c00f502 (diff)
downloadbugzilla-873074873fe5e27e853e5ce3d83b078280a29c2a.tar.gz
bugzilla-873074873fe5e27e853e5ce3d83b078280a29c2a.tar.xz
more things work
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm12
1 files changed, 0 insertions, 12 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index b68586c8d..556daf752 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -13,15 +13,6 @@ use warnings;
use Bugzilla::Logging;
-# We want any compile errors to get to the browser, if possible.
-BEGIN {
- # This makes sure we're in a CGI.
- if ($ENV{SERVER_SOFTWARE} && !$ENV{MOD_PERL}) {
- require CGI::Carp;
- CGI::Carp->import('fatalsToBrowser');
- }
-}
-
our $VERSION = '20180627.1';
use Bugzilla::Auth;
@@ -341,9 +332,6 @@ sub login {
return $class->user if $class->user->id;
- # Load all extensions here if not running under mod_perl
- $class->extensions unless $ENV{MOD_PERL};
-
my $authorizer = new Bugzilla::Auth();
$type = LOGIN_REQUIRED if $class->cgi->param('GoAheadAndLogIn');