From 18ae5d27ba3ad93583d6e04e63dec37faec74bef Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Fri, 20 Aug 2021 11:02:03 +0800 Subject: [PATCH] * Fix the problem that the name of the edited release build under the project is displayed incorrectly. --- module/build/model.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/module/build/model.php b/module/build/model.php index 784aa00bd1..d9a5a837b7 100644 --- a/module/build/model.php +++ b/module/build/model.php @@ -113,14 +113,6 @@ class buildModel extends model } if(!$builds) return $sysBuilds + $selectedBuilds; - /* if the build has been released, replace build name with release name. */ - $releases = $this->dao->select('build, name')->from(TABLE_RELEASE) - ->where('build')->in(array_keys($builds)) - ->beginIF($branch)->andWhere('branch')->in("0,$branch")->fi() - ->andWhere('deleted')->eq(0) - ->fetchPairs(); - foreach($releases as $buildID => $releaseName) $builds[$buildID] = $releaseName; - return $sysBuilds + $builds + $selectedBuilds; }