diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-06-16 14:17:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-16 14:17:06 +0200 |
commit | 592ac6f7da400969786fbed3a7b69356afd616a6 (patch) | |
tree | e3b947654a5992dcc40c58818d9fc6be5608cae8 /lib | |
parent | d7f98fcdefe3214a5ceeb0d38b45aead6a5c8e2e (diff) | |
download | nextcloud-server-592ac6f7da400969786fbed3a7b69356afd616a6.tar.gz nextcloud-server-592ac6f7da400969786fbed3a7b69356afd616a6.zip |
emit correct signal when disabling an app
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/App/AppManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/App/AppManager.php b/lib/private/App/AppManager.php index 475ecba2b8e..636f43c8c57 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(); |