summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcmail.php
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-05-20 13:48:45 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-05-20 13:48:45 +0000
commit03b3adbbfd102576e61b4c1a777f1beea2fd5e04 (patch)
treed52d1d6ced12dd6b28de8da03c884fdc3393f116 /roundcubemail/program/include/rcmail.php
parent15c68653e8bb49030bcd638dba300f33b950d8a7 (diff)
- Re-designed cache, fixes memcache/apc issues
git-svn-id: https://svn.roundcube.net/trunk@4794 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcmail.php')
-rw-r--r--roundcubemail/program/include/rcmail.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/include/rcmail.php b/roundcubemail/program/include/rcmail.php
index 98f3c3e66..7844b9806 100644
--- a/roundcubemail/program/include/rcmail.php
+++ b/roundcubemail/program/include/rcmail.php
@@ -363,7 +363,7 @@ class rcmail
public function get_cache($name, $type)
{
if (!isset($this->caches[$name])) {
- $this->caches[$name] = new rcube_cache($type, $_SESSION['user_id'], $name.'.');
+ $this->caches[$name] = new rcube_cache($type, $_SESSION['user_id'], $name);
}
return $this->caches[$name];
@@ -852,7 +852,7 @@ class rcmail
$_SESSION['timezone'] = floatval($_REQUEST['_timezone']);
// force reloading complete list of subscribed mailboxes
- $this->imap->clear_cache('mailboxes');
+ $this->imap->clear_cache('mailboxes', true);
return true;
}