This commit is contained in:
2023-08-14 18:56:45 +08:00
parent 0a567634d6
commit 4a51a8a336
5 changed files with 22 additions and 3 deletions
+1
View File
@@ -197,6 +197,7 @@ class Model extends Base\Model
} else {
$result = static::deleteByCondition($this->_attributes);
}
$this->optimize();
return $this->afterDelete($result);
}
return false;