From 03b3adbbfd102576e61b4c1a777f1beea2fd5e04 Mon Sep 17 00:00:00 2001 From: alec Date: Fri, 20 May 2011 13:48:45 +0000 Subject: - Re-designed cache, fixes memcache/apc issues git-svn-id: https://svn.roundcube.net/trunk@4794 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcmail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roundcubemail/program/include/rcmail.php') 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; } -- cgit v1.2.3