summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2018-05-04 15:25:02 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2018-07-02 11:29:27 +0200
commita3948e8a126d6f84629841c8886fe0819ab04ad5 (patch)
tree55e8458dfc9cf257f3ec6b5a40c9d0ff03e73d67 /apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php
parent6208f250e88a15794ac5b7eeef6d701aa91e131b (diff)
downloadnextcloud-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/BackgroundJob/RetryJob.php')
-rw-r--r--apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php b/apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php
index de2edfe60f7..e3d7028ef65 100644
--- a/apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php
+++ b/apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php
@@ -75,7 +75,9 @@ class RetryJob extends Job {
$addressHandler,
\OC::$server->getHTTPClientService(),
\OC::$server->query(\OCP\OCS\IDiscoveryService::class),
- \OC::$server->getJobList()
+ \OC::$server->getJobList(),
+ \OC::$server->getCloudFederationProviderManager(),
+ \OC::$server->getCloudFederationFactory()
);
}