]> source.dussan.org Git - nextcloud-server.git/commitdiff
Rename getAsyncCommandBus to getCommandBus
authorRobin Appelman <icewind@owncloud.com>
Mon, 23 Feb 2015 16:54:32 +0000 (17:54 +0100)
committerRobin Appelman <icewind@owncloud.com>
Wed, 25 Feb 2015 14:09:41 +0000 (15:09 +0100)
apps/files_encryption/appinfo/app.php
lib/private/server.php
lib/public/iservercontainer.php

index c547a0c5e19850f7e7a953e340d104ea2d483686..440f5cf78e096e3b3a1b75acd14af6aacfe44a8d 100644 (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');
index ca3a17451ac81c2102c3887e7d5ba40ce6b5d032..8b6a0874ab84a1e703cf8b80285349538d1762c5 100644 (file)
@@ -785,7 +785,7 @@ class Server extends SimpleContainer implements IServerContainer {
        /**
         * @return \OCP\Command\IBus
         */
-       function getAsyncCommandBus(){
+       function getCommandBus(){
                return $this->query('AsyncCommandBus');
        }
 
index 3b73426d9fb92041c1d51ed567b00087424ac6f1..6714a5265f79a9f1326a701ed6f01938da3988be 100644 (file)
@@ -321,5 +321,5 @@ interface IServerContainer {
        /**
         * @return \OCP\Command\IBus
         */
-       function getAsyncCommandBus();
+       function getCommandBus();
 }