From: Byron Jones Date: Mon, 12 Mar 2012 05:10:53 +0000 (+0800) Subject: Bug 734078: cache localconfig per-process X-Git-Tag: bugzilla-4.3.1~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f47c6a2ac5dd12754a3d0f8bf9505acc6dc5444;p=thirdparty%2Fbugzilla.git Bug 734078: cache localconfig per-process r=dkl, a=LpSolit --- diff --git a/Bugzilla.pm b/Bugzilla.pm index cbc9ec1ecb..8928ff8b08 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 {