diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-05-04 15:25:02 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2018-07-02 11:29:27 +0200 |
commit | a3948e8a126d6f84629841c8886fe0819ab04ad5 (patch) | |
tree | 55e8458dfc9cf257f3ec6b5a40c9d0ff03e73d67 /apps/federatedfilesharing/lib/ocm/CloudFederationProviderFiles.php | |
parent | 6208f250e88a15794ac5b7eeef6d701aa91e131b (diff) | |
download | nextcloud-server-a3948e8a126d6f84629841c8886fe0819ab04ad5.tar.gz nextcloud-server-a3948e8a126d6f84629841c8886fe0819ab04ad5.zip |
use new API to send a federated share if possible
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/federatedfilesharing/lib/ocm/CloudFederationProviderFiles.php')
-rw-r--r-- | apps/federatedfilesharing/lib/ocm/CloudFederationProviderFiles.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/apps/federatedfilesharing/lib/ocm/CloudFederationProviderFiles.php b/apps/federatedfilesharing/lib/ocm/CloudFederationProviderFiles.php index f05f4469148..dea4c3f5fc1 100644 --- a/apps/federatedfilesharing/lib/ocm/CloudFederationProviderFiles.php +++ b/apps/federatedfilesharing/lib/ocm/CloudFederationProviderFiles.php @@ -109,15 +109,6 @@ class CloudFederationProviderFiles implements ICloudFederationProvider { } /** - * send new share to another server - * - * @since 14.0.0 - */ - public function sendShare() { - // TODO: Implement sendShare() method. - } - - /** * share received from another server * * @param ICloudFederationShare $share @@ -186,6 +177,7 @@ class CloudFederationProviderFiles implements ICloudFederationProvider { \OC::$server->getHTTPClientService(), \OC::$server->getNotificationManager(), \OC::$server->query(\OCP\OCS\IDiscoveryService::class), + \OC::$server->getCloudFederationProviderManager(), $shareWith ); |