模型已做清除缓存,去除多余代码

Signed-off-by: 御宅男 <530765310@qq.com>
pull/452/head
御宅男 2023-08-07 02:51:22 +00:00 committed by Gitee
parent cc9802877a
commit 611d9d1a2e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 0 additions and 2 deletions

View File

@ -82,7 +82,6 @@ class Rule extends Backend
if ($result === false) {
$this->error($this->model->getError());
}
Cache::rm('__menu__');
$this->success();
}
$this->error();
@ -124,7 +123,6 @@ class Rule extends Backend
if ($result === false) {
$this->error($row->getError());
}
Cache::rm('__menu__');
$this->success();
}
$this->error();