diff options
author | alecpl <alec@alec.pl> | 2011-05-20 13:48:45 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-05-20 13:48:45 +0000 |
commit | ccc059fd70ea4eb5a279d0603b21a54328bf9251 (patch) | |
tree | 9e603e3dea4e2d83095b9f25c01d4c780dc54490 /program/include/rcmail.php | |
parent | 254d5ef32b7ec45a48abd43f19c84168dabe13d1 (diff) |
- Re-designed cache, fixes memcache/apc issues
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r-- | program/include/rcmail.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 98f3c3e66..7844b9806 100644 --- a/program/include/rcmail.php +++ b/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; } |