* testtaskModel: remove unused code.

This commit is contained in:
liugang
2023-09-12 10:21:07 +08:00
parent 6e8bcc7bed
commit 4b09607a75
+1 -3
View File
@@ -817,12 +817,10 @@ class testtaskModel extends model
$this->dao->update(TABLE_TESTTASK)->data($task, 'comment,uid')
->autoCheck()
->checkFlow()
->where('id')->eq((int)$taskID)
->where('id')->eq($taskID)
->exec();
if(dao::isError()) return false;
$this->loadModel('file')->updateObjectID($task->uid, $taskID, 'testtask');
$changes = common::createChanges($oldTask, $task);
if($changes || $task->comment)
{