summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/appinfo/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_encryption/appinfo/app.php')
-rw-r--r--apps/files_encryption/appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/appinfo/app.php b/apps/files_encryption/appinfo/app.php
index c547a0c5e19..440f5cf78e0 100644
--- a/apps/files_encryption/appinfo/app.php
+++ b/apps/files_encryption/appinfo/app.php
@@ -50,7 +50,7 @@ if (!OC_Config::getValue('maintenance', false)) {
OCP\User::logout();
}
-\OC::$server->getAsyncCommandBus()->requireSync('\OC\Command\FileAccess');
+\OC::$server->getCommandBus()->requireSync('\OC\Command\FileAccess');
// Register settings scripts
OCP\App::registerAdmin('files_encryption', 'settings-admin');