ZF-11343: Hardcoded cleaning mode in Zend_Cache_Backend_File
Description
Class: Zend_Cache_Backend_File
Method: _clean
Line: 725
Contents: if ($mode=='all') {
Should be: if ($mode == Zend_Cache::CLEANING_MODE_ALL) {
Class: Zend_Cache_Backend_File
Method: _clean
Line: 725
Contents: if ($mode=='all') {
Should be: if ($mode == Zend_Cache::CLEANING_MODE_ALL) {
Comments
Posted by Gabor Nagy (gabor_nagy) on 2011-05-05T15:44:17.000+0000
I have attached the patch for this issue.
Posted by Marc Bennewitz (private) (mabe) on 2011-05-09T22:11:50.000+0000
patch applied & docblock updated in r24029 (trunk) & r24030 (1.11 branch)