summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-06-06 09:22:21 +0200
committerAleksander Machniak <alec@alec.pl>2013-06-06 09:22:21 +0200
commit61ccdfcfbb943abb75d3245f6c70b0c3c0b1b34c (patch)
tree228ddb2ccda35a969330bc8e6fb00243a305abbe /program
parent67ac6e354ab6c12e708415d2949936b4dc427275 (diff)
Add imap_cache_ttl option to configure TTL of imap_cache
Diffstat (limited to 'program')
-rw-r--r--program/lib/Roundcube/rcube_imap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_imap.php b/program/lib/Roundcube/rcube_imap.php
index b362f1316..9cd8ef7e4 100644
--- a/program/lib/Roundcube/rcube_imap.php
+++ b/program/lib/Roundcube/rcube_imap.php
@@ -3691,7 +3691,7 @@ class rcube_imap extends rcube_storage
{
if ($this->caching && !$this->cache) {
$rcube = rcube::get_instance();
- $ttl = $rcube->config->get('messages_cache_ttl', '10d');
+ $ttl = $rcube->config->get('imap_cache_ttl', '10d');
$this->cache = $rcube->get_cache('IMAP', $this->caching, $ttl);
}