Commit 04cb0b7a authored by 刘晨's avatar 刘晨
Browse files

改进缓存类tag方法

parent b6fd8848
Branches
No related merge requests found
Showing with 1 addition and 3 deletions
......@@ -20,7 +20,7 @@ use think\route\Dispatch;
*/
class App extends Container
{
const VERSION = '5.1.36 LTS';
const VERSION = '5.1.37 LTS';
/**
* 当前模块路径
......
......@@ -249,7 +249,6 @@ abstract class Driver
{
if ($this->tag) {
$key = $this->getTagkey($this->tag);
$prev = $this->tag;
$this->tag = null;
if ($this->has($key)) {
......@@ -266,7 +265,6 @@ abstract class Driver
}
$this->set($key, $value, 0);
$this->tag = $prev;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment