* Add branch remove.

This commit is contained in:
caoyanyi
2022-08-12 16:56:58 +08:00
parent 74874aa869
commit 04780426db
3 changed files with 29 additions and 14 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ class mr extends control
}
}
if(isset($MR->hostID)) $rawMR = $this->mr->apiAcceptMR($MR->hostID, $MR->targetProject, $MR->mriid, $MR);
if(isset($MR->hostID)) $rawMR = $this->mr->apiAcceptMR($MR);
if(isset($rawMR->state) and $rawMR->state == 'merged')
{
$this->mr->logMergedAction($MR);