]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 829601: Bugzilla->local_timezone should be stored in process_cache instead of...
authorFrédéric Buclin <LpSolit@gmail.com>
Mon, 14 Jan 2013 17:59:54 +0000 (18:59 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Mon, 14 Jan 2013 17:59:54 +0000 (18:59 +0100)
r=glob a=LpSolit

Bugzilla.pm

index e06b67ead849de228a023f4762750bb2f3f0c096..9858348768d5b582251656c7ae42519cef04ca75 100644 (file)
@@ -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');
 }