Remove some more remove request handling
parent
7cc8a4aed8
commit
c6a3f48eaf
|
@ -325,15 +325,6 @@ class RuleSetGenerator
|
||||||
$this->addRule(RuleSet::TYPE_JOB, $rule);
|
$this->addRule(RuleSet::TYPE_JOB, $rule);
|
||||||
}
|
}
|
||||||
break;
|
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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue