]> source.dussan.org Git - nextcloud-server.git/commitdiff
require command that do file access to be run sync when encryption is enabled
authorRobin Appelman <icewind@owncloud.com>
Mon, 23 Feb 2015 14:27:47 +0000 (15:27 +0100)
committerRobin Appelman <icewind@owncloud.com>
Wed, 25 Feb 2015 14:09:41 +0000 (15:09 +0100)
apps/files_encryption/appinfo/app.php

index 7cc42916282b582760c1d0376b179683e92dfd04..c547a0c5e19850f7e7a953e340d104ea2d483686 100644 (file)
@@ -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');