Skip to content

Commit fe95614

Browse files
'delete' is a reserved word in Zend Engine 2
1 parent 4e857ef commit fe95614

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pear/Cache.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,12 +257,12 @@ function getUserdata($id, $group = 'default') {
257257
* @return boolean
258258
* @access public
259259
*/
260-
function delete($id, $group = 'default') {
260+
function remove($id, $group = 'default') {
261261
if (!$this->caching)
262262
return true;
263263

264-
return $this->container->delete($id, $group);
265-
} // end func delete
264+
return $this->container->remove($id, $group);
265+
} // end func remove
266266

267267
/**
268268
* Flushes the cache - removes all data from it

0 commit comments

Comments
 (0)