summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorDylan Hardison <dylan@mozilla.com>2015-11-09 15:32:19 +0100
committerDylan Hardison <dylan@mozilla.com>2015-11-09 15:32:19 +0100
commit4c8b7b118226e6a6ad0fe8994d06d6ba9b0d2b06 (patch)
treef0fba9a5bb0a7b52ff49f46fd61578b5729772d0 /Bugzilla.pm
parentaf46939af5dbe914e07c9b1ec0af2560b38ffbc6 (diff)
downloadbugzilla-4c8b7b118226e6a6ad0fe8994d06d6ba9b0d2b06.tar.gz
bugzilla-4c8b7b118226e6a6ad0fe8994d06d6ba9b0d2b06.tar.xz
Bug 1219767 - Explicitly load extensions at Bugzilla->login
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm3
1 files changed, 3 insertions, 0 deletions
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');