From: Michael M Slusarz Date: Wed, 24 Nov 2010 17:53:48 +0000 (-0700) Subject: Horde_Session does the necessary serialization; if passed an array, it will also... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b51fa785eeb174c27097278cfa89066c38a34b3a;p=horde.git Horde_Session does the necessary serialization; if passed an array, it will also compress it --- 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; } /**