This commit is contained in:
thinkphp
2017-08-30 15:39:04 +08:00
parent e05d6aecd6
commit fe779ee04c

View File

@@ -200,10 +200,6 @@ class File extends Driver
public function rm($name)
{
$filename = $this->getCacheKey($name);
if (is_file($filename . '.lock')) {
// 解除过期锁定文件
unlink($filename . '.lock');
}
return $this->unlink($filename);
}