]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 829939: Only build default_authorizer on request
authorFrédéric Buclin <LpSolit@gmail.com>
Mon, 14 Jan 2013 17:53:09 +0000 (18:53 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 14 Jan 2013 17:53:09 +0000 (18:53 +0100)
r=glob a=LpSolit

Bugzilla/Template.pm

index 4e51036a622ae84cc12ad6c9f03fb560d6d9ac5f..663d85957d2abb68ba157dbc1dcf5db7b6fa090d 100644 (file)
@@ -971,7 +971,7 @@ sub create {
                 }
                 return \@optional;
             },
-            'default_authorizer' => new Bugzilla::Auth(),
+            'default_authorizer' => sub { return Bugzilla::Auth->new() },
         },
     };