From ccc059fd70ea4eb5a279d0603b21a54328bf9251 Mon Sep 17 00:00:00 2001 From: alecpl Date: Fri, 20 May 2011 13:48:45 +0000 Subject: - Re-designed cache, fixes memcache/apc issues --- program/include/rcmail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program/include/rcmail.php') 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; } -- cgit v1.2.3