Commit 7fc909e700608a1b6f2c1ef5b156a6c83e89ad8a

Authored by Neil Blakey-Milner
1 parent bdc490e6

Make unlinking of cache files that don't exist fail silently again.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5265 c91229c3-7414-0410-bfa2-8a42b809f60b
thirdparty/pear/Cache/Lite.php
@@ -574,7 +574,7 @@ class Cache_Lite @@ -574,7 +574,7 @@ class Cache_Lite
574 */ 574 */
575 function _unlink($file) 575 function _unlink($file)
576 { 576 {
577 - if (!unlink($file)) { 577 + if (!@unlink($file)) {
578 578
579 return $this->raiseError('Cache_Lite : Unable to remove cache !', -3); 579 return $this->raiseError('Cache_Lite : Unable to remove cache !', -3);
580 } 580 }