Skip to content
Prev Previous commit
Next Next commit
Directly use the class to get the service
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen authored and rullzer committed Apr 18, 2020
commit 685d7b06374fdac72541f002c14c9359b34a2608
2 changes: 1 addition & 1 deletion apps/files_sharing/lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function __construct(array $urlParams = []) {
return new \OCA\Files_Sharing\External\MountProvider(
$server->getDatabaseConnection(),
function () use ($c) {
return $c->query('ExternalManager');
return $c->query(Manager::class);
},
$server->getCloudIdManager()
);
Expand Down