bug in Cache_Lite

From: Date: Sun, 27 Feb 2005 11:22:46 +0000
Subject: bug in Cache_Lite
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17706@lists.php.net to get a copy of this message
Hi Marty First of all, congrats on a great class, I use it all the time. Not sure if something changed recently, but the clean method now returns void, whereas it should return boolean:
    /**
    * Clean the cache
    *
    * if no group is specified all cache files will be destroyed
    * else only cache files of the specified group will be destroyed
    *
    * @param string $group name of the cache group
    * @param string $mode flush cache mode : 'old', 'ingroup', 'notingroup'
    * @return boolean true if no problem
    * @access public
    */
    function clean($group = false, $mode = 'ingroup')
    {
        $this->_cleanDir($this->_cacheDir, $group, $mode);
    }
cheers Demian

« previous php.pear.general (#17706) next »