* change deletereleased param to noreleased.
This commit is contained in:
@@ -234,7 +234,7 @@ class buildModel extends model
|
||||
*
|
||||
* @param int|array $products
|
||||
* @param string|int $branch
|
||||
* @param string $params noempty|notrunk|noterminate|withbranch|hasproject|noDeleted|singled|deletereleased, can be a set of them
|
||||
* @param string $params noempty|notrunk|noterminate|withbranch|hasproject|noDeleted|singled|noreleased, can be a set of them
|
||||
* @param string|int $objectID
|
||||
* @param string $objectType
|
||||
* @param int|array $buildIdList
|
||||
@@ -332,7 +332,7 @@ class buildModel extends model
|
||||
{
|
||||
if(!isset($allBuilds[$buildID])) continue;
|
||||
$build = $allBuilds[$buildID];
|
||||
if(strpos($params, 'deletereleased') !== false) unset($builds[$build->date][$buildID]);
|
||||
if(strpos($params, 'noreleased') !== false) unset($builds[$build->date][$buildID]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user