aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-02-23 15:27:47 +0100
committerRobin Appelman <icewind@owncloud.com>2015-02-25 15:09:41 +0100
commit27d047979d2fd5e77ef14386dd575607c4041990 (patch)
tree95e4631a65bba557b836a4671e8f887b2efebf0d /apps/files_encryption
parenta39c7bf4643fdaa17e62ea503fede1c2f4a30d35 (diff)
downloadnextcloud-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.php2
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');