Skip to content

Commit a0f75ae

Browse files
committed
Directly use the class to get the service
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent 81fdfef commit a0f75ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_sharing/lib/AppInfo/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function __construct(array $urlParams = []) {
114114
return new \OCA\Files_Sharing\External\MountProvider(
115115
$server->getDatabaseConnection(),
116116
function () use ($c) {
117-
return $c->query('ExternalManager');
117+
return $c->query(Manager::class);
118118
},
119119
$server->getCloudIdManager()
120120
);

0 commit comments

Comments
 (0)