From 8f47c6a2ac5dd12754a3d0f8bf9505acc6dc5444 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 12 Mar 2012 13:10:53 +0800 Subject: Bug 734078: cache localconfig per-process r=dkl, a=LpSolit --- Bugzilla.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Bugzilla.pm') 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 { -- cgit v1.2.3-24-g4f1b