From 88c5748774287c2bdebc60b77e105556140242b0 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Sun, 13 Jun 2010 20:40:13 -0400 Subject: [PATCH] I'm pretty sure that ZPS4 is a dead product --- framework/Cache/lib/Horde/Cache/Zps4.php | 78 -------------------------------- framework/Cache/package.xml | 2 - 2 files changed, 80 deletions(-) delete mode 100644 framework/Cache/lib/Horde/Cache/Zps4.php diff --git a/framework/Cache/lib/Horde/Cache/Zps4.php b/framework/Cache/lib/Horde/Cache/Zps4.php deleted file mode 100644 index f455be74a..000000000 --- a/framework/Cache/lib/Horde/Cache/Zps4.php +++ /dev/null @@ -1,78 +0,0 @@ - - * @category Horde - * @package Cache - */ -class Horde_Cache_Zps4 extends Horde_Cache_Base -{ - /** - * Attempts to retrieve a piece of cached data and return it to the - * caller. - * - * @param string $key Cache key to fetch. - * @param integer $lifetime Lifetime of the key in seconds. - * - * @return mixed Cached data, or false if none was found. - */ - public function get($key, $lifetime = 1) - { - $key = $this->_params['prefix'] . $key; - return output_cache_get($key, $lifetime); - } - - /** - * Attempts to store an object to the cache. - * - * @param string $key Cache key (identifier). - * @param mixed $data Data to store in the cache. - * @param integer $lifetime Data lifetime. [Not used] - * - * @return boolean True on success, false on failure. - */ - public function set($key, $data, $lifetime = null) - { - $key = $this->_params['prefix'] . $key; - output_cache_put($key, $data); - return true; - } - - /** - * Checks if a given key exists in the cache, valid for the given - * lifetime. - * - * @param string $key Cache key to check. - * @param integer $lifetime Lifetime of the key in seconds. - * - * @return boolean Existence. - */ - public function exists($key, $lifetime = 1) - { - $key = $this->_params['prefix'] . $key; - $exists = output_cache_exists($key, $lifetime); - output_cache_stop(); - return $exists; - } - - /** - * Expire any existing data for the given key. - * - * @param string $key Cache key to expire. - * - * @return boolean Success or failure. - */ - public function expire($key) - { - $key = $this->_params['prefix'] . $key; - return output_cache_remove_key($key); - } - -} diff --git a/framework/Cache/package.xml b/framework/Cache/package.xml index 78e63a0ad..a0561cb20 100644 --- a/framework/Cache/package.xml +++ b/framework/Cache/package.xml @@ -55,7 +55,6 @@ Performance Suite's content cache), memcached, or an SQL table. - @@ -113,7 +112,6 @@ Performance Suite's content cache), memcached, or an SQL table. - -- 2.11.0