diff --git a/module/repo/model.php b/module/repo/model.php index 4c44a97ca2..4ec2ce457e 100644 --- a/module/repo/model.php +++ b/module/repo/model.php @@ -1788,10 +1788,10 @@ class repoModel extends model */ public function processGitlab($repo) { - $gitlab = $this->loadModel('gitlab')->getByID($repo->client); // The $repo->client is gitlabID + $gitlab = $this->loadModel('gitlab')->getByID($repo->client); // The $repo->client is gitlabID. if(!$gitlab) return $repo; $repo->gitlab = $gitlab->id; - $repo->project = $repo->path; // The projectID in gitlab + $repo->project = $repo->path; // The projectID in gitlab. $repo->path = sprintf($this->config->repo->gitlab->apiPath, $gitlab->url, $repo->path); $repo->client = $gitlab->url; $repo->password = $gitlab->token;