Rename getAsyncCommandBus to getCommandBus

This commit is contained in:
Robin Appelman 2015-02-23 17:54:32 +01:00
parent 9873ab20af
commit bf65b1f18b
3 changed files with 3 additions and 3 deletions

View File

@ -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');

View File

@ -785,7 +785,7 @@ class Server extends SimpleContainer implements IServerContainer {
/**
* @return \OCP\Command\IBus
*/
function getAsyncCommandBus(){
function getCommandBus(){
return $this->query('AsyncCommandBus');
}

View File

@ -321,5 +321,5 @@ interface IServerContainer {
/**
* @return \OCP\Command\IBus
*/
function getAsyncCommandBus();
function getCommandBus();
}