emit correct signal if a app get's disabled
This commit is contained in:
parent
01f8434a75
commit
5f2bc3a96d
|
@ -257,7 +257,7 @@ class AppManager implements IAppManager {
|
||||||
}
|
}
|
||||||
unset($this->installedAppsCache[$appId]);
|
unset($this->installedAppsCache[$appId]);
|
||||||
$this->appConfig->setValue($appId, 'enabled', 'no');
|
$this->appConfig->setValue($appId, 'enabled', 'no');
|
||||||
$this->dispatcher->dispatch(ManagerEvent::EVENT_APP_ENABLE, new ManagerEvent(
|
$this->dispatcher->dispatch(ManagerEvent::EVENT_APP_DISABLE, new ManagerEvent(
|
||||||
ManagerEvent::EVENT_APP_DISABLE, $appId
|
ManagerEvent::EVENT_APP_DISABLE, $appId
|
||||||
));
|
));
|
||||||
$this->clearAppsCache();
|
$this->clearAppsCache();
|
||||||
|
|
Loading…
Reference in New Issue