diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2013-01-14 22:45:59 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2013-01-14 22:45:59 +0100 |
commit | b4f9ca2fe880dd11dfe030b5ccd77c2747dba784 (patch) | |
tree | 17cbead833f93bd3ccf68b7d489f479ca000e9fe | |
parent | c49bc2540123f3668086cf315ad21a40d7115a31 (diff) | |
download | bugzilla-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.pm | 2 |
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'); } |