From: Frédéric Buclin Date: Mon, 14 Jan 2013 17:59:54 +0000 (+0100) Subject: Bug 829601: Bugzilla->local_timezone should be stored in process_cache instead of... X-Git-Tag: bugzilla-4.5.1~227 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cc79abd31ecbe0b17faf09ab772c9d17b5c1996;p=thirdparty%2Fbugzilla.git Bug 829601: Bugzilla->local_timezone should be stored in process_cache instead of request_cache r=glob a=LpSolit --- diff --git a/Bugzilla.pm b/Bugzilla.pm index e06b67ead8..9858348768 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -596,7 +596,7 @@ sub has_flags { } sub local_timezone { - return $_[0]->request_cache->{local_timezone} + return $_[0]->process_cache->{local_timezone} ||= DateTime::TimeZone->new(name => 'local'); }