alecpl
2012-04-19 6dc7ce5a0692bf7433a5ab2221457fda4893502a
program/include/rcube_imap.php
@@ -3531,7 +3531,8 @@
    {
        if ($this->caching && !$this->cache) {
            $rcmail = rcmail::get_instance();
            $ttl = $rcmail->config->get('message_cache_lifetime', '10d') - mktime();
            $ttl = $rcmail->config->get('message_cache_lifetime', '10d');
            $ttl = get_offset_time($ttl) - time();
            $this->cache = $rcmail->get_cache('IMAP', $this->caching, $ttl);
        }