Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2016-06-16 18:17:02 +0300
committerJörn Friedrich Dreyer <jfd@butonic.de>2016-06-16 18:17:02 +0300
commit3ac02c9032ee1b28f55c937e61c7f920e682649b (patch)
tree1e36832dea0a81b89a0c23f7f2e523862d57295b
parent9232a124e22e65dbdb36e6b103bf6791e04cb140 (diff)
–emit correct signal when disabling an 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 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();