Rename getAsyncCommandBus to getCommandBus
This commit is contained in:
parent
9873ab20af
commit
bf65b1f18b
|
@ -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');
|
||||
|
|
|
@ -785,7 +785,7 @@ class Server extends SimpleContainer implements IServerContainer {
|
|||
/**
|
||||
* @return \OCP\Command\IBus
|
||||
*/
|
||||
function getAsyncCommandBus(){
|
||||
function getCommandBus(){
|
||||
return $this->query('AsyncCommandBus');
|
||||
}
|
||||
|
||||
|
|
|
@ -321,5 +321,5 @@ interface IServerContainer {
|
|||
/**
|
||||
* @return \OCP\Command\IBus
|
||||
*/
|
||||
function getAsyncCommandBus();
|
||||
function getCommandBus();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue