summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2016-06-16 14:17:06 +0200
committerGitHub <noreply@github.com>2016-06-16 14:17:06 +0200
commit592ac6f7da400969786fbed3a7b69356afd616a6 (patch)
treee3b947654a5992dcc40c58818d9fc6be5608cae8 /lib
parentd7f98fcdefe3214a5ceeb0d38b45aead6a5c8e2e (diff)
downloadnextcloud-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.php2
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();