diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2016-08-18 14:03:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-18 14:03:14 +0200 |
commit | 53d3c8b635d1a6290231ecf4c645e8b6b82a50f4 (patch) | |
tree | 33316d957da72a8323e6a4dc7bc0208df6c64251 /lib/private | |
parent | 023c29a6ecfbf0cf8a8d9c6d541eea8f6c97b836 (diff) | |
parent | f86b20776a19c5ed7035213b64706179d9217cce (diff) | |
download | nextcloud-server-53d3c8b635d1a6290231ecf4c645e8b6b82a50f4.tar.gz nextcloud-server-53d3c8b635d1a6290231ecf4c645e8b6b82a50f4.zip |
Merge pull request #931 from nextcloud/replace-hardcoded-classname
let the containers resolving capabilities find and instantiate the ri…
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/Server.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php index 44fc605826c..eb49155adef 100644 --- a/lib/private/Server.php +++ b/lib/private/Server.php @@ -1397,7 +1397,7 @@ class Server extends ServerContainer implements IServerContainer { * @return \OCA\Files_External\Service\BackendService */ public function getStoragesBackendService() { - return \OC_Mount_Config::$app->getContainer()->query('OCA\\Files_External\\Service\\BackendService'); + return $this->query('OCA\\Files_External\\Service\\BackendService'); } /** @@ -1406,7 +1406,7 @@ class Server extends ServerContainer implements IServerContainer { * @return \OCA\Files_External\Service\GlobalStoragesService */ public function getGlobalStoragesService() { - return \OC_Mount_Config::$app->getContainer()->query('OCA\\Files_External\\Service\\GlobalStoragesService'); + return $this->query('OCA\\Files_External\\Service\\GlobalStoragesService'); } /** @@ -1415,7 +1415,7 @@ class Server extends ServerContainer implements IServerContainer { * @return \OCA\Files_External\Service\UserGlobalStoragesService */ public function getUserGlobalStoragesService() { - return \OC_Mount_Config::$app->getContainer()->query('OCA\\Files_External\\Service\\UserGlobalStoragesService'); + return $this->query('OCA\\Files_External\\Service\\UserGlobalStoragesService'); } /** @@ -1424,7 +1424,7 @@ class Server extends ServerContainer implements IServerContainer { * @return \OCA\Files_External\Service\UserStoragesService */ public function getUserStoragesService() { - return \OC_Mount_Config::$app->getContainer()->query('OCA\\Files_External\\Service\\UserStoragesService'); + return $this->query('OCA\\Files_External\\Service\\UserStoragesService'); } /** |