* Finish task #6459.
This commit is contained in:
@@ -1168,7 +1168,11 @@ class task extends control
|
||||
else
|
||||
{
|
||||
$this->task->delete(TABLE_TASK, $taskID);
|
||||
if($task->parent > 0) $this->task->updateParentStatus($task->id);
|
||||
if($task->parent > 0)
|
||||
{
|
||||
$this->task->updateParentStatus($task->id);
|
||||
$this->loadModel('action')->create('task', $task->parent, 'deleteChildrenTask', '', $taskID);
|
||||
}
|
||||
if($task->fromBug != 0) $this->dao->update(TABLE_BUG)->set('toTask')->eq(0)->where('id')->eq($task->fromBug)->exec();
|
||||
if($task->story) $this->loadModel('story')->setStage($task->story);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user