diff --git a/module/release/control.php b/module/release/control.php index d16e71269f..883133a885 100644 --- a/module/release/control.php +++ b/module/release/control.php @@ -106,25 +106,11 @@ class release extends control $release = $this->release->getById((int)$releaseID); $this->commonAction($release->product); $build = $this->build->getById($release->build); - if($release->build !=0) - { - /* Get stories and bugs. */ - $orderBy = 'status_asc, stage_asc, id_desc'; - $stories = $this->story->getProjectStories($build->project, $orderBy); - $bugs = $this->bug->getProjectBugs($build->project); - } - else - { - $stories = array(); - $bugs = array(); - } $this->view->title = $this->view->product->name . $this->lang->colon . $this->lang->release->edit; $this->view->position[] = $this->lang->release->edit; $this->view->release = $release; $this->view->build = $build; - $this->view->stories = $stories; - $this->view->bugs = $bugs; $this->view->builds = $this->loadModel('build')->getProductBuildPairs($release->product, 'notrunk'); $this->display(); }