require command that do file access to be run sync when encryption is enabled

This commit is contained in:
Robin Appelman 2015-02-23 15:27:47 +01:00
parent a39c7bf464
commit 27d047979d
1 changed files with 2 additions and 0 deletions

View 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');