summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2013-01-14 18:53:09 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2013-01-14 18:53:09 +0100
commitf4fc2d24552273b713123dc7084bc01d595db119 (patch)
tree532471fe09f5512db208ff282eaa67b0f8aa819d /Bugzilla/Template.pm
parentd758a8169eacbccc0a65d6fd68e49f8eb8b713be (diff)
downloadbugzilla-f4fc2d24552273b713123dc7084bc01d595db119.tar.gz
bugzilla-f4fc2d24552273b713123dc7084bc01d595db119.tar.xz
Bug 829939: Only build default_authorizer on request
r=glob a=LpSolit
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 4e51036a6..663d85957 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() },
},
};