diff options
-rw-r--r-- | apps/files_encryption/appinfo/app.php | 2 | ||||
-rw-r--r-- | lib/private/server.php | 2 | ||||
-rw-r--r-- | lib/public/iservercontainer.php | 2 |
3 files changed, 3 insertions, 3 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'); diff --git a/lib/private/server.php b/lib/private/server.php index ca3a17451ac..8b6a0874ab8 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 3b73426d9fb..6714a5265f7 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(); } |