diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-06-16 17:17:02 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2016-06-16 17:17:02 +0200 |
commit | 3ac02c9032ee1b28f55c937e61c7f920e682649b (patch) | |
tree | 1e36832dea0a81b89a0c23f7f2e523862d57295b /lib | |
parent | 9232a124e22e65dbdb36e6b103bf6791e04cb140 (diff) | |
download | nextcloud-server-3ac02c9032ee1b28f55c937e61c7f920e682649b.tar.gz nextcloud-server-3ac02c9032ee1b28f55c937e61c7f920e682649b.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 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(); |