From fc68a96592e40a0bf932d86ed455bc3ebc1de155 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 26 Feb 2020 19:43:25 +0100 Subject: [PATCH] optimize app isntall --- Module/ModuleManager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;