mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
改进
This commit is contained in:
4
library/think/cache/driver/File.php
vendored
4
library/think/cache/driver/File.php
vendored
@@ -200,10 +200,6 @@ class File extends Driver
|
|||||||
public function rm($name)
|
public function rm($name)
|
||||||
{
|
{
|
||||||
$filename = $this->getCacheKey($name);
|
$filename = $this->getCacheKey($name);
|
||||||
if (is_file($filename . '.lock')) {
|
|
||||||
// 解除过期锁定文件
|
|
||||||
unlink($filename . '.lock');
|
|
||||||
}
|
|
||||||
return $this->unlink($filename);
|
return $this->unlink($filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user