summaryrefslogtreecommitdiffstats
path: root/lib/private/App
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2016-06-13 13:36:23 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2016-06-13 13:36:23 +0200
commit5f2bc3a96d1600b756c0594b50e662baa2391ab2 (patch)
treedb98f7aef935781e3dfb9d3ca734440e80fe423a /lib/private/App
parent01f8434a754d3822cf0bed4ad473a9a7aec7d623 (diff)
downloadnextcloud-server-5f2bc3a96d1600b756c0594b50e662baa2391ab2.tar.gz
nextcloud-server-5f2bc3a96d1600b756c0594b50e662baa2391ab2.zip
emit correct signal if a app get's disabled
Diffstat (limited to 'lib/private/App')
-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();