Fix isInstalled detection broken by metapackage installer
parent
583a0b5f0d
commit
87c1629ebc
|
@ -100,13 +100,7 @@ class InstallationManager
|
|||
*/
|
||||
public function isPackageInstalled(PackageInterface $package)
|
||||
{
|
||||
foreach ($this->installers as $installer) {
|
||||
if ($installer->isInstalled($package)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
return $this->getInstaller($package->getType())->isInstalled($package);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue