diff options
author | Byron Jones <bjones@mozilla.com> | 2012-03-12 13:10:53 +0800 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-03-12 13:10:53 +0800 |
commit | 8f47c6a2ac5dd12754a3d0f8bf9505acc6dc5444 (patch) | |
tree | 70b97a6b81c285aa9b134755fc344ef3e74762ed /Bugzilla.pm | |
parent | Tabular reports' column headers do not use display_value. (diff) | |
download | bugzilla-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.pm | 6 |
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 { |