* Remove unused code.

This commit is contained in:
Yagami
2023-02-08 08:33:58 +08:00
parent 5a98197d00
commit 243316723f
2 changed files with 2 additions and 29 deletions
+2 -2
View File
@@ -300,7 +300,7 @@ class task extends control
if(!empty($projectID))
{
$executions = $this->execution->getByProject($projectID, 'all', 0, true);
$executions = $this->execution->getPairs($projectID, 'all', 'leaf');
$executionKey = 0;
$executionModifyList = $this->execution->getByIdList(array_keys($executions));
@@ -625,7 +625,7 @@ class task extends control
if(isset($this->view->members['closed']) or $this->view->task->status == 'closed') $this->view->members['closed'] = 'Closed';
$executions = array();
if(!empty($task->project)) $executions = $this->execution->getByProject($task->project, 'all', 0, true);
if(!empty($task->project)) $executions = $this->execution->getPairs($task->project, 'all', 'leaf');
$this->view->title = $this->lang->task->edit . 'TASK' . $this->lang->colon . $this->view->task->name;
$this->view->position[] = $this->lang->task->common;