From: Frédéric Buclin Date: Mon, 14 Jan 2013 17:50:53 +0000 (+0100) Subject: Bug 829939: Only build default_authorizer on request X-Git-Tag: bugzilla-4.5.1~229 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d66fed127fb35e37330882300bc3d8c502f7fe10;p=thirdparty%2Fbugzilla.git Bug 829939: Only build default_authorizer on request r=glob a=LpSolit --- diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 3e883c7908..b93e1bfaea 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -982,7 +982,7 @@ sub create { } return \@optional; }, - 'default_authorizer' => new Bugzilla::Auth(), + 'default_authorizer' => sub { return Bugzilla::Auth->new() }, }, }; # Use a per-process provider to cache compiled templates in memory across