From b51fa785eeb174c27097278cfa89066c38a34b3a Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 24 Nov 2010 10:53:48 -0700 Subject: [PATCH] Horde_Session does the necessary serialization; if passed an array, it will also compress it --- framework/Share/lib/Horde/Share.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/framework/Share/lib/Horde/Share.php b/framework/Share/lib/Horde/Share.php index 324fa18dc..28384ac3e 100644 --- a/framework/Share/lib/Horde/Share.php +++ b/framework/Share/lib/Horde/Share.php @@ -484,23 +484,23 @@ class Horde_Share } /** - * Returns an opaque value representing this share's listcache. + * Returns the share's list cache. * - * @return string + * @return array */ public function getListCache() { - return serialize($this->_listcache); + return $this->_listcache; } /** - * Set the list cache by passing in a previously retrieved listcache. + * Set the list cache. * - * @param string $cache + * @param array $cache */ public function setListCache($cache) { - $this->_listcache = unserialize($cache); + $this->_listcache = $cache; } /** -- 2.11.0