diff --git a/lib/Horde/Imap/Client/Cache/Backend.php b/lib/Horde/Imap/Client/Cache/Backend.php index 6d140557..c9542c77 100644 --- a/lib/Horde/Imap/Client/Cache/Backend.php +++ b/lib/Horde/Imap/Client/Cache/Backend.php @@ -170,19 +170,6 @@ public function __serialize() return $this->_params; } - public function __unserialize(array $data) - { - $this->_params = $data; - } - - /** - * @return array - */ - public function __serialize() - { - return $this->_params; - } - public function __unserialize(array $data) { $this->_params = $data; diff --git a/lib/Horde/Imap/Client/Cache/Backend/Cache.php b/lib/Horde/Imap/Client/Cache/Backend/Cache.php index e3fe8264..e3fdff61 100644 --- a/lib/Horde/Imap/Client/Cache/Backend/Cache.php +++ b/lib/Horde/Imap/Client/Cache/Backend/Cache.php @@ -511,13 +511,4 @@ public function __serialize() return parent::__serialize(); } - /** - * @return array - */ - public function __serialize() - { - $this->save(); - return parent::__serialize(); - } - }