optimize app isntall

This commit is contained in:
Dennis Eichhorn 2020-02-26 19:43:25 +01:00
parent d1d300eedd
commit fc68a96592

View File

@ -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;