summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2012-03-12 06:10:53 +0100
committerByron Jones <bjones@mozilla.com>2012-03-12 06:10:53 +0100
commit8f47c6a2ac5dd12754a3d0f8bf9505acc6dc5444 (patch)
tree70b97a6b81c285aa9b134755fc344ef3e74762ed /Bugzilla.pm
parentad7a332935b3489b2aa913825a85fd5b0b50dff7 (diff)
downloadbugzilla-8f47c6a2ac5dd12754a3d0f8bf9505acc6dc5444.tar.gz
bugzilla-8f47c6a2ac5dd12754a3d0f8bf9505acc6dc5444.tar.xz
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 {