1
0
Fork 0

Remove some more remove request handling

pull/8533/head
Jordi Boggiano 2020-01-17 15:35:37 +01:00
parent 7cc8a4aed8
commit c6a3f48eaf
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 0 additions and 9 deletions

View File

@ -325,15 +325,6 @@ class RuleSetGenerator
$this->addRule(RuleSet::TYPE_JOB, $rule);
}
break;
case 'remove':
// remove all packages with this name including uninstalled
// ones to make sure none of them are picked as replacements
$packages = $this->pool->whatProvides($job['packageName'], $job['constraint']);
foreach ($packages as $package) {
$rule = $this->createRemoveRule($package, Rule::RULE_JOB_REMOVE, $job);
$this->addRule(RuleSet::TYPE_JOB, $rule);
}
break;
}
}
}