summaryrefslogtreecommitdiffstats
path: root/apps/federation/lib/AppInfo
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-02-24 16:09:52 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2017-04-11 15:04:01 +0200
commitd5dec527c964fd08b91f9ab6ffeea228ca214ad6 (patch)
treea4a4022d5ca1c0929d9ddcd7813a1610f923938e /apps/federation/lib/AppInfo
parent930c507d893a85581f5da8370c3daeb30e17efdc (diff)
downloadnextcloud-server-d5dec527c964fd08b91f9ab6ffeea228ca214ad6.tar.gz
nextcloud-server-d5dec527c964fd08b91f9ab6ffeea228ca214ad6.zip
get addressbook url and carddav user from remote server
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/federation/lib/AppInfo')
-rw-r--r--apps/federation/lib/AppInfo/Application.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/federation/lib/AppInfo/Application.php b/apps/federation/lib/AppInfo/Application.php
index e5acab52857..e76a8f850c8 100644
--- a/apps/federation/lib/AppInfo/Application.php
+++ b/apps/federation/lib/AppInfo/Application.php
@@ -135,7 +135,8 @@ class Application extends \OCP\AppFramework\App {
public function getSyncService() {
$syncService = \OC::$server->query('CardDAVSyncService');
$dbHandler = $this->getContainer()->query('DbHandler');
- return new SyncFederationAddressBooks($dbHandler, $syncService);
+ $discoveryService = \OC::$server->getOCSDiscoveryService();
+ return new SyncFederationAddressBooks($dbHandler, $syncService, $discoveryService);
}
}