From ccc059fd70ea4eb5a279d0603b21a54328bf9251 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Fri, 20 May 2011 09:48:45 -0400 Subject: [PATCH] - Re-designed cache, fixes memcache/apc issues --- 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 98f3c3e..7844b98 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -363,7 +363,7 @@ 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 @@ $_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; } -- Gitblit v1.9.1