diff --git a/module/execution/control.php b/module/execution/control.php index 26caf5da24..60812612b8 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -3867,22 +3867,12 @@ class execution extends control $executionStats = $this->execution->getStatData(0, $status, $productID, 0, false, $queryID, $orderBy, $pager); - $parentIdList = array(); - foreach($executionStats as $execution) - { - if($execution->type != 'stage') continue; - if($execution->grade == 2 and $execution->project != $execution->parent) $parentIdList[$execution->parent] = $execution->parent; - } - $parents = array(); - if($parentIdList) $parents = $this->execution->getByIdList($parentIdList); - $allExecutionsNum = $this->execution->getStatData(0, 'all'); $this->view->allExecutionsNum = count($allExecutionsNum); $this->view->executionStats = $executionStats; $this->view->productList = $this->loadModel('product')->getProductPairsByProject(0); $this->view->productID = $productID; - $this->view->parents = $parents; $this->view->pager = $pager; $this->view->orderBy = $orderBy; $this->view->users = $this->loadModel('user')->getPairs('noletter');