From 93ff10f7312656ccf89ec25e25ac3746e88f0391 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 4 May 2010 03:39:43 -0600 Subject: [PATCH] Don't serialize member variables of this class --- framework/Cache/lib/Horde/Cache/Memcache.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/framework/Cache/lib/Horde/Cache/Memcache.php b/framework/Cache/lib/Horde/Cache/Memcache.php index ffb9b587a..c9b3998ef 100644 --- a/framework/Cache/lib/Horde/Cache/Memcache.php +++ b/framework/Cache/lib/Horde/Cache/Memcache.php @@ -51,6 +51,15 @@ class Horde_Cache_Memcache extends Horde_Cache_Base } /** + * Do cleanup prior to serialization and provide a list of variables + * to serialize. + */ + public function __sleep() + { + return array(); + } + + /** * Attempts to retrieve cached data from the memcache and return it to * the caller. * -- 2.11.0