|
@@ -260,6 +260,10 @@ class Factory
|
|
|
// add installers to the manager
|
|
|
$this->createDefaultInstallers($im, $composer, $io);
|
|
|
|
|
|
+ if (!$disablePlugins) {
|
|
|
+ $pm->loadInstalledPlugins();
|
|
|
+ }
|
|
|
+
|
|
|
// purge packages if they have been deleted on the filesystem
|
|
|
$this->purgePackages($rm, $im);
|
|
|
|
|
@@ -272,10 +276,6 @@ class Factory
|
|
|
$composer->setLocker($locker);
|
|
|
}
|
|
|
|
|
|
- if (!$disablePlugins) {
|
|
|
- $pm->loadInstalledPlugins();
|
|
|
- }
|
|
|
-
|
|
|
return $composer;
|
|
|
}
|
|
|
|