diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2016-06-13 14:20:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-13 14:20:39 +0200 |
commit | 5a038ff77967848c3aa4cbcd9cacd4b21d5e1eb1 (patch) | |
tree | dd34d22c6f1f89048f7d24985e0a0b0ebb51dd7a | |
parent | 0b2940ecb5cd600df4d4867bbc052d8c3926075d (diff) | |
parent | 5f2bc3a96d1600b756c0594b50e662baa2391ab2 (diff) | |
download | nextcloud-server-5a038ff77967848c3aa4cbcd9cacd4b21d5e1eb1.tar.gz nextcloud-server-5a038ff77967848c3aa4cbcd9cacd4b21d5e1eb1.zip |
Merge pull request #71 from nextcloud/fix-app-hook
emit correct signal if a app gets disabled
-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(); |