diff --git a/Module/ModuleManager.php b/Module/ModuleManager.php index c7de42038..d20b83b2d 100644 --- a/Module/ModuleManager.php +++ b/Module/ModuleManager.php @@ -503,8 +503,6 @@ final class ModuleManager return false; } - $this->appManager = new ApplicationManager($this); - try { $info = $this->loadInfo($module); @@ -523,9 +521,11 @@ final class ModuleManager /* Install receiving and applications */ foreach ($this->installed as $key => $value) { $this->installProviding($key, $module); - $this->installApplications($key); } + $this->appManager = new ApplicationManager($this); + $this->installApplications($module); + return true; } catch (PathException $e) { return false;