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
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-04-17 12:20:26 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2020-04-18 12:21:28 +0300
commit685d7b06374fdac72541f002c14c9359b34a2608 (patch)
tree0e2b0d17f53c2b5504254cdf36bfeb6ca14d79c6 /apps/files_sharing/lib
parent6332d7c0b3e3dddfdc6f0a77c63bd2684dda3b69 (diff)
Directly use the class to get the service
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/AppInfo/Application.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/AppInfo/Application.php b/apps/files_sharing/lib/AppInfo/Application.php
index 23db5e3ce32..bb9da59dc14 100644
--- a/apps/files_sharing/lib/AppInfo/Application.php
+++ b/apps/files_sharing/lib/AppInfo/Application.php
@@ -114,7 +114,7 @@ class Application extends App {
return new \OCA\Files_Sharing\External\MountProvider(
$server->getDatabaseConnection(),
function () use ($c) {
- return $c->query('ExternalManager');
+ return $c->query(Manager::class);
},
$server->getCloudIdManager()
);