summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-18 11:56:19 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-08-18 11:56:19 +0200
commitf86b20776a19c5ed7035213b64706179d9217cce (patch)
treea0686e10811735289b1b98be7713e0ee3721edb7 /lib
parent5580a77bd703877541687b72d7ab4ec50b2b0c7d (diff)
downloadnextcloud-server-f86b20776a19c5ed7035213b64706179d9217cce.tar.gz
nextcloud-server-f86b20776a19c5ed7035213b64706179d9217cce.zip
let the containers resolving capabilities find and instantiate the right service
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Server.php8
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');
}
/**