diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-07-14 20:44:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 20:44:05 +0200 |
commit | 2ad95feab6dd525cdda5aa61c22119c98d21ca97 (patch) | |
tree | 5a6d920337fff7c427174deb4c0bc558110ef81b /apps/files_sharing | |
parent | 157c6527625cbe90649e32fe1b5dd99771e7541d (diff) | |
parent | 7e281a07bb66a082a35cbdd52f7d1e418beb4f53 (diff) | |
download | nextcloud-server-2ad95feab6dd525cdda5aa61c22119c98d21ca97.tar.gz nextcloud-server-2ad95feab6dd525cdda5aa61c22119c98d21ca97.zip |
Merge pull request #21816 from nextcloud/techdebt/noid/federatedfilesharing-to-ibootstrap
Use IBootstrap for the app federatedfilesharing
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/lib/ShareBackend/File.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/files_sharing/lib/ShareBackend/File.php b/apps/files_sharing/lib/ShareBackend/File.php index 60deebc5c01..cdda89cbc63 100644 --- a/apps/files_sharing/lib/ShareBackend/File.php +++ b/apps/files_sharing/lib/ShareBackend/File.php @@ -34,7 +34,6 @@ namespace OCA\Files_Sharing\ShareBackend; -use OCA\FederatedFileSharing\AppInfo\Application; use OCA\FederatedFileSharing\FederatedShareProvider; use OCP\Share\IShare; @@ -56,8 +55,7 @@ class File implements \OCP\Share_Backend_File_Dependent { if ($federatedShareProvider) { $this->federatedShareProvider = $federatedShareProvider; } else { - $federatedSharingApp = \OC::$server->query(Application::class); - $this->federatedShareProvider = $federatedSharingApp->getFederatedShareProvider(); + $this->federatedShareProvider = \OC::$server->query(FederatedShareProvider::class); } } |