* Remove extra space from repoModel::processGitlab function.
This commit is contained in:
@@ -1763,11 +1763,11 @@ class repoModel extends model
|
||||
{
|
||||
$gitlab = $this->loadModel('gitlab')->getByID($repo->client); // $repo->client is gitlabID
|
||||
if(!$gitlab) return $repo;
|
||||
$repo->gitlab = $gitlab->id;
|
||||
$repo->project = $repo->path; // projectID in gitlab
|
||||
$repo->path = sprintf($this->config->repo->gitlab->apiPath, $gitlab->url, $repo->path);
|
||||
$repo->client = $gitlab->url;
|
||||
$repo->password = $gitlab->token;
|
||||
$repo->gitlab = $gitlab->id;
|
||||
$repo->project = $repo->path; // projectID in gitlab
|
||||
$repo->path = sprintf($this->config->repo->gitlab->apiPath, $gitlab->url, $repo->path);
|
||||
$repo->client = $gitlab->url;
|
||||
$repo->password = $gitlab->token;
|
||||
return $repo;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user