summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-06-26 12:48:19 +0200
committerLukas Reschke <lukas@owncloud.com>2016-06-26 12:48:19 +0200
commitdcb5f0046192c242d274e301c7e462651dcdebe0 (patch)
treea42975dc5602338dd5c361eb3e7907931a8eca36 /lib
parentea327cdea1172768816bb79cf920e74e7585348a (diff)
parent907c90165a4d147f8608705df15c6d0d9dbdb335 (diff)
downloadnextcloud-server-dcb5f0046192c242d274e301c7e462651dcdebe0.tar.gz
nextcloud-server-dcb5f0046192c242d274e301c7e462651dcdebe0.zip
Merge remote-tracking branch 'upstream/stable9' into stable9-upstream-sync
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 fba5bb19f61..608c69dd54a 100644
--- a/lib/private/app/appmanager.php
+++ b/lib/private/app/appmanager.php
@@ -256,7 +256,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();