From ccd19adac5d121ca0b8073fb4c876ccf30ec59fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Mon, 14 Jan 2013 18:52:05 +0100 Subject: [PATCH] Bug 829939: Only build default_authorizer on request r=glob a=LpSolit --- Bugzilla/Template.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index e5c7407b68..0ca79f2ed0 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -951,7 +951,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 -- 2.47.2