From 2a2b924fb280af04928d5b27c689514853541890 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 17 Nov 2010 00:22:14 -0700 Subject: [PATCH] Bug #9385: Fix IMAP message caching --- framework/Imap_Client/lib/Horde/Imap/Client/Cache.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/framework/Imap_Client/lib/Horde/Imap/Client/Cache.php b/framework/Imap_Client/lib/Horde/Imap/Client/Cache.php index ec87f17c6..cee594c3e 100644 --- a/framework/Imap_Client/lib/Horde/Imap/Client/Cache.php +++ b/framework/Imap_Client/lib/Horde/Imap/Client/Cache.php @@ -528,14 +528,11 @@ class Horde_Imap_Client_Cache return; } - $ptr = &$this->_data[$mailbox]['data']; + $ptr = &$this->_data[$mailbox]; $todelete = array(); foreach ($uids as $val) { - if (isset($ptr[$val]) && - ($res = @unserialize($ptr[$val]))) { - $ptr[$val] = $res; - } else { + if (!isset($ptr[$val])) { $todelete[] = $val; } } -- 2.11.0