From: Dylan Hardison Date: Mon, 9 Nov 2015 14:32:19 +0000 (-0500) Subject: Bug 1219767 - Explicitly load extensions at Bugzilla->login X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c8b7b118226e6a6ad0fe8994d06d6ba9b0d2b06;p=thirdparty%2Fbugzilla.git Bug 1219767 - Explicitly load extensions at Bugzilla->login --- diff --git a/Bugzilla.pm b/Bugzilla.pm index a219d5bde..0ce152e48 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -368,6 +368,9 @@ 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');