summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-01-14 22:45:59 +0100
committerDave Lawrence <dlawrence@mozilla.com>2013-01-14 22:45:59 +0100
commitb4f9ca2fe880dd11dfe030b5ccd77c2747dba784 (patch)
tree17cbead833f93bd3ccf68b7d489f479ca000e9fe
parentc49bc2540123f3668086cf315ad21a40d7115a31 (diff)
downloadbugzilla-b4f9ca2fe880dd11dfe030b5ccd77c2747dba784.tar.gz
bugzilla-b4f9ca2fe880dd11dfe030b5ccd77c2747dba784.tar.xz
Bug 829601 - Bugzilla::local_timezone should be stored in process_cache instead of request_cache
-rw-r--r--Bugzilla.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index efef052be..28098cb65 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -605,7 +605,7 @@ sub has_flags {
}
sub local_timezone {
- return $_[0]->request_cache->{local_timezone}
+ return $_[0]->process_cache->{local_timezone}
||= DateTime::TimeZone->new(name => 'local');
}