diff --git a/lib/private/App/AppManager.php b/lib/private/App/AppManager.php index 475ecba2b8e8b8287b12b07add0f52c7d5611a94..636f43c8c5756b0d7fadb9e7c3c46144e1786485 100644 --- a/lib/private/App/AppManager.php +++ b/lib/private/App/AppManager.php @@ -257,7 +257,7 @@ class AppManager implements IAppManager { } unset($this->installedAppsCache[$appId]); $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 )); $this->clearAppsCache();