Merge branch '1.5'
commit
aff9c72d16
|
@ -280,11 +280,10 @@ class GitLabDriver extends VcsDriver
|
||||||
{
|
{
|
||||||
$resource = $this->getApiUrl().'/repository/'.$type.'?per_page=100';
|
$resource = $this->getApiUrl().'/repository/'.$type.'?per_page=100';
|
||||||
|
|
||||||
|
$references = array();
|
||||||
do {
|
do {
|
||||||
$data = JsonFile::parseJson($this->getContents($resource), $resource);
|
$data = JsonFile::parseJson($this->getContents($resource), $resource);
|
||||||
|
|
||||||
$references = array();
|
|
||||||
|
|
||||||
foreach ($data as $datum) {
|
foreach ($data as $datum) {
|
||||||
$references[$datum['name']] = $datum['commit']['id'];
|
$references[$datum['name']] = $datum['commit']['id'];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue