1
0
Fork 0

Correctly generate conflict and alias rules for installed packages

pull/770/head
Nils Adermann 2012-06-05 12:02:34 +02:00
parent d592c0a55e
commit 1211d8f7d4
1 changed files with 10 additions and 15 deletions

View File

@ -190,10 +190,6 @@ class RuleSetGenerator
}
}
// check implicit obsoletes
// for installed packages we only need to check installed/installed problems,
// as the others are picked up when looking at the uninstalled package.
if (!$isInstalled) {
$obsoleteProviders = $this->pool->whatProvides($package->getName(), null);
foreach ($obsoleteProviders as $provider) {
@ -210,7 +206,6 @@ class RuleSetGenerator
}
}
}
}
protected function obsoleteImpossibleForAlias($package, $provider)
{