]> granicus.if.org Git - php/commitdiff
'delete' is a reserved word in Zend Engine 2
authorSebastian Bergmann <sebastian@php.net>
Sat, 11 Aug 2001 08:08:05 +0000 (08:08 +0000)
committerSebastian Bergmann <sebastian@php.net>
Sat, 11 Aug 2001 08:08:05 +0000 (08:08 +0000)
pear/Cache.php

index efa05c9156b5a551836f686987880dfda1023080..04a662709ae0a82ad15cf8fad85baf57bbd697ad 100644 (file)
@@ -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