* Fix typo.

This commit is contained in:
dingguodong
2024-04-29 19:24:26 +08:00
parent 504e7b589b
commit 08bcffcd59
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -893,14 +893,14 @@ class mr extends control
/**
* 获取分支权限。
* Ajax get branch pivs.
* Ajax get branch privileges.
*
* @param int $hostID
* @param string $project
* @access public
* @return void
*/
public function ajaxGetBranchPivs(int $hostID, string $project)
public function ajaxGetBranchPrivs(int $hostID, string $project)
{
$host = $this->loadModel('pipeline')->getByID($hostID);
if(in_array($host->type, array('gitea', 'gogs')))