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 /lib/private/Share20/ProviderFactory.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 'lib/private/Share20/ProviderFactory.php')
-rw-r--r-- | lib/private/Share20/ProviderFactory.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/Share20/ProviderFactory.php b/lib/private/Share20/ProviderFactory.php index 456b6dbc596..7d866db24fa 100644 --- a/lib/private/Share20/ProviderFactory.php +++ b/lib/private/Share20/ProviderFactory.php @@ -116,7 +116,9 @@ class ProviderFactory implements IProviderFactory { $addressHandler, $this->serverContainer->getHTTPClientService(), $this->serverContainer->query(\OCP\OCS\IDiscoveryService::class), - $this->serverContainer->getJobList() + $this->serverContainer->getJobList(), + \OC::$server->getCloudFederationProviderManager(), + \OC::$server->getCloudFederationFactory() ); $tokenHandler = new TokenHandler( $this->serverContainer->getSecureRandom() |