summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib/AppInfo/Application.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federatedfilesharing/lib/AppInfo/Application.php')
-rw-r--r--apps/federatedfilesharing/lib/AppInfo/Application.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/federatedfilesharing/lib/AppInfo/Application.php b/apps/federatedfilesharing/lib/AppInfo/Application.php
index 655c01cf85d..0b61e0a0b0d 100644
--- a/apps/federatedfilesharing/lib/AppInfo/Application.php
+++ b/apps/federatedfilesharing/lib/AppInfo/Application.php
@@ -76,7 +76,9 @@ class Application extends App {
$addressHandler,
$server->getHTTPClientService(),
$server->query(\OCP\OCS\IDiscoveryService::class),
- \OC::$server->getJobList()
+ \OC::$server->getJobList(),
+ \OC::$server->getCloudFederationProviderManager(),
+ \OC::$server->getCloudFederationFactory()
);
return new RequestHandlerController(
$c->query('AppName'),
@@ -121,7 +123,9 @@ class Application extends App {
$addressHandler,
\OC::$server->getHTTPClientService(),
\OC::$server->query(\OCP\OCS\IDiscoveryService::class),
- \OC::$server->getJobList()
+ \OC::$server->getJobList(),
+ \OC::$server->getCloudFederationProviderManager(),
+ \OC::$server->getCloudFederationFactory()
);
$tokenHandler = new \OCA\FederatedFileSharing\TokenHandler(
\OC::$server->getSecureRandom()