Home » Caching » Cache_Lite » Bug #9178
Cache Lite drop method doesn't return true
Details
| Doc Bug #9178 | Cache Lite drop method doesn't return true |
|---|---|
| Submitted | 2006-10-27 08:32 UTC |
| From | baumeler at gmx dot net |
| Assigned | cweiske |
| Status | Closed |
| Package | Cache_Lite |
| PHP Version | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2006-10-27 08:32 UTC] baumeler at gmx dot net
Description:
------------
The Cache_Lite drop method doesn't return a true state
as reported in the documentation.
Test script:
---------------
<?php
//Function.php
/**
* Drop a cache file
*
* Arguments of this method are read with func_get_args. So it doesn't appear
* in the function definition. Synopsis :
* remove('functionName', $arg1, $arg2, ...)
* (arg1, arg2... are arguments of 'functionName')
*
* @return boolean true if no problem
* @access public
*/
function drop()
{
$id = $this->_makeId(func_get_args());
$this->remove($id, $this->_defaultGroup);
}
?>