+ Delete related issue in gitlab when deleting story.
This commit is contained in:
@@ -987,6 +987,10 @@ class story extends control
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Delete related issue in gitlab. */
|
||||
$relation = $this->loadModel('gitlab')->getGitlabIssueFromRelation('story', $storyID);
|
||||
$this->loadModel('gitlab')->deleteIssue($relation->gitlabID, $relation->projectID, 'story', $storyID);
|
||||
|
||||
$this->story->delete(TABLE_STORY, $storyID);
|
||||
if($story->parent > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user