浏览代码

Update Delete.php

Visman 4 年之前
父节点
当前提交
542e47d932
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      app/Models/BBCodeList/Delete.php

+ 1 - 3
app/Models/BBCodeList/Delete.php

@@ -22,8 +22,6 @@ class Delete extends Method
 
         $this->c->DB->exec($query, $vars);
 
-        $this->model->reset();
-
-        return $this->model;
+        return $this->model->reset();
     }
 }