From: Frédéric Buclin Date: Mon, 14 Jan 2013 17:53:09 +0000 (+0100) Subject: Bug 829939: Only build default_authorizer on request X-Git-Tag: bugzilla-4.2.5~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4fc2d24552273b713123dc7084bc01d595db119;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 4e51036a62..663d85957d 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -971,7 +971,7 @@ sub create { } return \@optional; }, - 'default_authorizer' => new Bugzilla::Auth(), + 'default_authorizer' => sub { return Bugzilla::Auth->new() }, }, };