|
|
@ -64,11 +64,9 @@ class Config
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// disable a repository with an anonymous {"name": false} repo
|
|
|
|
// disable a repository with an anonymous {"name": false} repo
|
|
|
|
foreach ($this->repositories as $repoName => $repoSpec) {
|
|
|
|
if (1 === count($repository) && false === current($repository)) {
|
|
|
|
if (isset($repository[$repoName]) && false === $repository[$repoName]) {
|
|
|
|
unset($this->repositories[key($repository)]);
|
|
|
|
unset($this->repositories[$repoName]);
|
|
|
|
continue;
|
|
|
|
continue 2;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// store repo
|
|
|
|
// store repo
|
|
|
|