1
0
Fork 0

Merge pull request #315 from edorian/cleanup-update-all

Cleanup unreachable code
pull/316/head
Nils Adermann 2012-02-18 07:18:09 -08:00
commit e7441edcf1
1 changed files with 0 additions and 14 deletions

View File

@ -944,20 +944,6 @@ class Solver
} }
foreach ($this->jobs as $job) { foreach ($this->jobs as $job) {
switch ($job['cmd']) {
case 'update-all':
foreach ($installedPackages as $package) {
$this->updateMap[$package->getId()] = true;
}
break;
case 'fix-all':
foreach ($installedPackages as $package) {
$this->fixMap[$package->getId()] = true;
}
break;
}
foreach ($job['packages'] as $package) { foreach ($job['packages'] as $package) {
switch ($job['cmd']) { switch ($job['cmd']) {
case 'fix': case 'fix':