summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2013-01-14 18:59:54 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2013-01-14 18:59:54 +0100
commit9cc79abd31ecbe0b17faf09ab772c9d17b5c1996 (patch)
tree7ce08a4f5b5e1fda93d4aa1cc097f848bd8ef71f /Bugzilla.pm
parentf4bbc8096cbdaa930833d7e4959457a4bd881a84 (diff)
downloadbugzilla-9cc79abd31ecbe0b17faf09ab772c9d17b5c1996.tar.gz
bugzilla-9cc79abd31ecbe0b17faf09ab772c9d17b5c1996.tar.xz
Bug 829601: Bugzilla->local_timezone should be stored in process_cache instead of request_cache
r=glob a=LpSolit
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index e06b67ead..985834876 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');
}