diff --git a/apps/files_encryption/appinfo/app.php b/apps/files_encryption/appinfo/app.php index c547a0c5e19850f7e7a953e340d104ea2d483686..440f5cf78e096e3b3a1b75acd14af6aacfe44a8d 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'); diff --git a/lib/private/server.php b/lib/private/server.php index ca3a17451ac81c2102c3887e7d5ba40ce6b5d032..8b6a0874ab84a1e703cf8b80285349538d1762c5 100644 --- a/lib/private/server.php +++ b/lib/private/server.php @@ -785,7 +785,7 @@ class Server extends SimpleContainer implements IServerContainer { /** * @return \OCP\Command\IBus */ - function getAsyncCommandBus(){ + function getCommandBus(){ return $this->query('AsyncCommandBus'); } diff --git a/lib/public/iservercontainer.php b/lib/public/iservercontainer.php index 3b73426d9fb92041c1d51ed567b00087424ac6f1..6714a5265f79a9f1326a701ed6f01938da3988be 100644 --- a/lib/public/iservercontainer.php +++ b/lib/public/iservercontainer.php @@ -321,5 +321,5 @@ interface IServerContainer { /** * @return \OCP\Command\IBus */ - function getAsyncCommandBus(); + function getCommandBus(); }