Fix isInstalled detection broken by metapackage installer
parent
583a0b5f0d
commit
87c1629ebc
|
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue