]> source.dussan.org Git - nextcloud-server.git/commitdiff
Directly use the class to get the service
authorJoas Schilling <coding@schilljs.com>
Fri, 17 Apr 2020 09:20:26 +0000 (11:20 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Sat, 18 Apr 2020 09:21:28 +0000 (11:21 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/files_sharing/lib/AppInfo/Application.php

index 23db5e3ce32e0f4add8d0496f4547b92f84f76ea..bb9da59dc14b03e502a806a49fee5ffce710eaa8 100644 (file)
@@ -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()
                        );