mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
optimize app isntall
This commit is contained in:
parent
d1d300eedd
commit
fc68a96592
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user