* Finish task #40819.

This commit is contained in:
holan20180123
2021-08-03 09:23:24 +08:00
parent ace9f69bba
commit 4e578bf78f
+2 -1
View File
@@ -2508,10 +2508,11 @@ class execution extends control
{
$storyIdList = $this->post->storyIdList;
$_POST = array();
$this->loadModel('gitlab');
foreach($storyIdList as $storyID)
{
/* Delete related issue in gitlab. */
$this->loadModel('gitlab');
$relation = $this->gitlab->getRelationByObject('story', $storyID);
if(!empty($relation)) $this->gitlab->deleteIssue('story', $storyID, $relation->issueID);