diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2016-06-13 13:36:23 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2016-06-13 13:36:23 +0200 |
commit | 5f2bc3a96d1600b756c0594b50e662baa2391ab2 (patch) | |
tree | db98f7aef935781e3dfb9d3ca734440e80fe423a /lib/private/App | |
parent | 01f8434a754d3822cf0bed4ad473a9a7aec7d623 (diff) | |
download | nextcloud-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.php | 2 |
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(); |