1
0
Fork 0

Fix isInstalled detection broken by metapackage installer

pull/501/head
Jordi Boggiano 2012-03-26 01:47:17 +02:00
parent 583a0b5f0d
commit 87c1629ebc
1 changed files with 1 additions and 7 deletions

View File

@ -100,13 +100,7 @@ class InstallationManager
*/ */
public function isPackageInstalled(PackageInterface $package) public function isPackageInstalled(PackageInterface $package)
{ {
foreach ($this->installers as $installer) { return $this->getInstaller($package->getType())->isInstalled($package);
if ($installer->isInstalled($package)) {
return true;
}
}
return false;
} }
/** /**