From 7f38bf0dfa70006391b3642ee4b4e6e9eee64beb Mon Sep 17 00:00:00 2001 From: xia0ta0 Date: Thu, 29 Jan 2015 13:00:27 +0800 Subject: [PATCH] - remove create and refresh link. --- module/build/control.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/module/build/control.php b/module/build/control.php index be939bc5e7..229b3550e9 100644 --- a/module/build/control.php +++ b/module/build/control.php @@ -208,11 +208,6 @@ class build extends control { $builds = $this->build->getProjectBuildPairs($projectID, $productID, 'noempty,release'); $output = html::select($varName . '[]', $builds , $build, 'size=4 class=form-control multiple'); - if(count($builds) == 1 and $needCreate) - { - $output .= html::a($this->createLink('build', 'create', "projectID=$projectID"), $this->lang->build->create, '_blank'); - $output .= html::a("javascript:loadProjectBuilds($projectID)", $this->lang->refresh); - } die($output); } if($varName == 'openedBuilds') die(html::select($varName . "[$index][]", $this->build->getProjectBuildPairs($projectID, $productID, 'noempty'), $build, 'size=4 class=form-control multiple'));