]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1219767 - Explicitly load extensions at Bugzilla->login
authorDylan Hardison <dylan@mozilla.com>
Mon, 9 Nov 2015 14:32:19 +0000 (09:32 -0500)
committerDylan Hardison <dylan@mozilla.com>
Mon, 9 Nov 2015 14:32:19 +0000 (09:32 -0500)
Bugzilla.pm

index a219d5bde8dfc8614727555baa81daabf143e3f1..0ce152e4821353ab63e218039f017ebaaaa34aac 100644 (file)
@@ -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');