* Adjust call function name for mr.

This commit is contained in:
caoyanyi
2023-12-18 16:42:04 +08:00
parent 4ef004e22c
commit 01fa4d4f0a
+2 -2
View File
@@ -62,8 +62,8 @@ class mrZen extends mr
}
$targetBranchList = array();
$branchList = $this->loadModel($scm)->getBranches($MR->hostID, $MR->targetProject);
foreach($branchList as $branch) $targetBranchList[$branch] = $branch;
$branchList = $this->loadModel($scm)->apiGetBranches($MR->hostID, $MR->targetProject);
foreach($branchList as $branch) $targetBranchList[$branch->name] = $branch->name;
$jobList = array();
if($MR->repoID)