From fe956141fc9c82b8316c5b32bbd9fc332fc3a155 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Sat, 11 Aug 2001 08:08:05 +0000 Subject: [PATCH] 'delete' is a reserved word in Zend Engine 2 --- pear/Cache.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pear/Cache.php b/pear/Cache.php index efa05c9156..04a662709a 100644 --- a/pear/Cache.php +++ b/pear/Cache.php @@ -257,12 +257,12 @@ class Cache extends PEAR { * @return boolean * @access public */ - function delete($id, $group = 'default') { + function remove($id, $group = 'default') { if (!$this->caching) return true; - return $this->container->delete($id, $group); - } // end func delete + return $this->container->remove($id, $group); + } // end func remove /** * Flushes the cache - removes all data from it -- 2.40.0