aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-03-12 13:10:53 +0800
committerByron Jones <bjones@mozilla.com>2012-03-12 13:10:53 +0800
commit8f47c6a2ac5dd12754a3d0f8bf9505acc6dc5444 (patch)
tree70b97a6b81c285aa9b134755fc344ef3e74762ed /Bugzilla.pm
parentTabular reports' column headers do not use display_value. (diff)
downloadbugzilla-8f47c6a2ac5dd12754a3d0f8bf9505acc6dc5444.tar.gz
bugzilla-8f47c6a2ac5dd12754a3d0f8bf9505acc6dc5444.tar.bz2
bugzilla-8f47c6a2ac5dd12754a3d0f8bf9505acc6dc5444.zip
Bug 734078: cache localconfig per-process
r=dkl, a=LpSolit
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index cbc9ec1ec..8928ff8b0 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -268,10 +268,10 @@ sub input_params {
return $cache->{input_params};
}
+our $_localconfig;
sub localconfig {
- my $class = shift;
- $class->request_cache->{localconfig} ||= read_localconfig();
- return $class->request_cache->{localconfig};
+ $_localconfig ||= read_localconfig();
+ return $_localconfig;
}
sub params {