Skip to content
Snippets Groups Projects
Commit bf65b1f1 authored by Robin Appelman's avatar Robin Appelman
Browse files

Rename getAsyncCommandBus to getCommandBus

parent 9873ab20
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,7 @@ if (!OC_Config::getValue('maintenance', false)) { ...@@ -50,7 +50,7 @@ if (!OC_Config::getValue('maintenance', false)) {
OCP\User::logout(); OCP\User::logout();
} }
\OC::$server->getAsyncCommandBus()->requireSync('\OC\Command\FileAccess'); \OC::$server->getCommandBus()->requireSync('\OC\Command\FileAccess');
// Register settings scripts // Register settings scripts
OCP\App::registerAdmin('files_encryption', 'settings-admin'); OCP\App::registerAdmin('files_encryption', 'settings-admin');
......
...@@ -785,7 +785,7 @@ class Server extends SimpleContainer implements IServerContainer { ...@@ -785,7 +785,7 @@ class Server extends SimpleContainer implements IServerContainer {
/** /**
* @return \OCP\Command\IBus * @return \OCP\Command\IBus
*/ */
function getAsyncCommandBus(){ function getCommandBus(){
return $this->query('AsyncCommandBus'); return $this->query('AsyncCommandBus');
} }
......
...@@ -321,5 +321,5 @@ interface IServerContainer { ...@@ -321,5 +321,5 @@ interface IServerContainer {
/** /**
* @return \OCP\Command\IBus * @return \OCP\Command\IBus
*/ */
function getAsyncCommandBus(); function getCommandBus();
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment