1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00

fs cache backend: silence the error

This commit is contained in:
czaks 2015-04-06 22:51:02 +02:00
parent 094f60d34d
commit 11dfc8bbdc

View File

@ -132,7 +132,7 @@ class Cache {
case 'fs':
$key = str_replace('/', '::', $key);
$key = str_replace("\0", '', $key);
unlink('tmp/cache/'.$key);
@unlink('tmp/cache/'.$key);
break;
case 'php':
unset(self::$cache[$key]);