From: Sebastian Bergmann Date: Sat, 11 Aug 2001 08:08:05 +0000 (+0000) Subject: 'delete' is a reserved word in Zend Engine 2 X-Git-Tag: BEFORE_EXP_MERGE~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe956141fc9c82b8316c5b32bbd9fc332fc3a155;p=php 'delete' is a reserved word in Zend Engine 2 --- 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