summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@php.net>2001-08-11 08:08:05 +0000
committerSebastian Bergmann <sebastian@php.net>2001-08-11 08:08:05 +0000
commitfe956141fc9c82b8316c5b32bbd9fc332fc3a155 (patch)
tree58f688abd01a49a97333f8cfd4d7a59224cc280e /pear
parent4e857ef2d3546a3d22ac278809789225712917e9 (diff)
downloadphp-git-fe956141fc9c82b8316c5b32bbd9fc332fc3a155.tar.gz
'delete' is a reserved word in Zend Engine 2
Diffstat (limited to 'pear')
-rw-r--r--pear/Cache.php6
1 files 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