no message

This commit is contained in:
kuaifan
2021-06-21 14:08:28 +08:00
parent eee1a6cb96
commit bf106f67e3
6 changed files with 61 additions and 57 deletions

View File

@@ -609,9 +609,6 @@ class ProjectTask extends AbstractModel
public function deleteTask($pushMsg = true)
{
AbstractModel::transaction(function () {
if ($this->dialog_id) {
WebSocketDialog::whereId($this->dialog_id)->delete();
}
$this->delete();
$this->addLog("删除{任务}" . $this->name);
});