diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-02-23 15:27:47 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-02-25 15:09:41 +0100 |
commit | 27d047979d2fd5e77ef14386dd575607c4041990 (patch) | |
tree | 95e4631a65bba557b836a4671e8f887b2efebf0d /apps/files_encryption | |
parent | a39c7bf4643fdaa17e62ea503fede1c2f4a30d35 (diff) | |
download | nextcloud-server-27d047979d2fd5e77ef14386dd575607c4041990.tar.gz nextcloud-server-27d047979d2fd5e77ef14386dd575607c4041990.zip |
require command that do file access to be run sync when encryption is enabled
Diffstat (limited to 'apps/files_encryption')
-rw-r--r-- | apps/files_encryption/appinfo/app.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_encryption/appinfo/app.php b/apps/files_encryption/appinfo/app.php index 7cc42916282..c547a0c5e19 100644 --- a/apps/files_encryption/appinfo/app.php +++ b/apps/files_encryption/appinfo/app.php @@ -50,6 +50,8 @@ if (!OC_Config::getValue('maintenance', false)) { OCP\User::logout(); } +\OC::$server->getAsyncCommandBus()->requireSync('\OC\Command\FileAccess'); + // Register settings scripts OCP\App::registerAdmin('files_encryption', 'settings-admin'); OCP\App::registerPersonal('files_encryption', 'settings-personal'); |