summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2012-04-19 07:42:19 +0000
committeralecpl <alec@alec.pl>2012-04-19 07:42:19 +0000
commit5d66a4bcf3ad5d584255184776f1f04451c929fc (patch)
treec203c622d679a5c60c03743ec2d878c754c47722 /program/include/rcube_imap.php
parent6a8b4c2951314441e670d89204dd3b913698b23d (diff)
- Improved ttl values handling
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r--program/include/rcube_imap.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index daba72e50..78c282d48 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -3532,8 +3532,6 @@ class rcube_imap extends rcube_storage
if ($this->caching && !$this->cache) {
$rcube = rcube::get_instance();
$ttl = $rcube->config->get('message_cache_lifetime', '10d');
- $ttl = get_offset_time($ttl) - time();
-
$this->cache = $rcube->get_cache('IMAP', $this->caching, $ttl);
}