summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2013-01-14 18:50:53 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2013-01-14 18:50:53 +0100
commitd66fed127fb35e37330882300bc3d8c502f7fe10 (patch)
treeeb6ab795b48dcb89b72761274fadb1884269d74b /Bugzilla
parentce0bbc1133384330a8eb53702cc8f8673c3495f5 (diff)
downloadbugzilla-d66fed127fb35e37330882300bc3d8c502f7fe10.tar.gz
bugzilla-d66fed127fb35e37330882300bc3d8c502f7fe10.tar.xz
Bug 829939: Only build default_authorizer on request
r=glob a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Template.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 3e883c790..b93e1bfae 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