Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2016-08-18 15:03:14 +0300
committerGitHub <noreply@github.com>2016-08-18 15:03:14 +0300
commit53d3c8b635d1a6290231ecf4c645e8b6b82a50f4 (patch)
tree33316d957da72a8323e6a4dc7bc0208df6c64251 /lib
parent023c29a6ecfbf0cf8a8d9c6d541eea8f6c97b836 (diff)
parentf86b20776a19c5ed7035213b64706179d9217cce (diff)
Merge pull request #931 from nextcloud/replace-hardcoded-classname
let the containers resolving capabilities find and instantiate the ri…
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');
}
/**