Directly use the class to get the service

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/20114/head
Joas Schilling 2020-04-17 11:20:26 +07:00 committed by Roeland Jago Douma
parent 6332d7c0b3
commit 685d7b0637
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 1 additions and 1 deletions

@ -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()
);