diff options
author | Dylan Hardison <dylan@mozilla.com> | 2015-11-09 15:32:19 +0100 |
---|---|---|
committer | Dylan Hardison <dylan@mozilla.com> | 2015-11-09 15:32:19 +0100 |
commit | 4c8b7b118226e6a6ad0fe8994d06d6ba9b0d2b06 (patch) | |
tree | f0fba9a5bb0a7b52ff49f46fd61578b5729772d0 | |
parent | af46939af5dbe914e07c9b1ec0af2560b38ffbc6 (diff) | |
download | bugzilla-4c8b7b118226e6a6ad0fe8994d06d6ba9b0d2b06.tar.gz bugzilla-4c8b7b118226e6a6ad0fe8994d06d6ba9b0d2b06.tar.xz |
Bug 1219767 - Explicitly load extensions at Bugzilla->login
-rw-r--r-- | Bugzilla.pm | 3 |
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'); |