* Fix code format.

This commit is contained in:
lichengjun
2021-07-06 16:43:04 +08:00
parent e5d78d015b
commit f04514f65d
4 changed files with 30 additions and 86 deletions
+4
View File
@@ -2449,6 +2449,10 @@ class execution extends control
$_POST = array();
foreach($storyIdList as $storyID)
{
/* Delete related issue in gitlab. */
$relation = $this->loadModel('gitlab')->getRelationByObject('story', $storyID);
if(!empty($relation)) $this->loadModel('gitlab')->deleteIssue('story', $storyID, $relation->issueID);
$this->execution->unlinkStory($executionID, $storyID);
}
}