From 7fc909e700608a1b6f2c1ef5b156a6c83e89ad8a Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Tue, 18 Apr 2006 10:51:53 +0000 Subject: [PATCH] Make unlinking of cache files that don't exist fail silently again. --- thirdparty/pear/Cache/Lite.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thirdparty/pear/Cache/Lite.php b/thirdparty/pear/Cache/Lite.php index 29c6667..574870d 100644 --- a/thirdparty/pear/Cache/Lite.php +++ b/thirdparty/pear/Cache/Lite.php @@ -574,7 +574,7 @@ class Cache_Lite */ function _unlink($file) { - if (!unlink($file)) { + if (!@unlink($file)) { return $this->raiseError('Cache_Lite : Unable to remove cache !', -3); } -- libgit2 0.21.4