summaryrefslogtreecommitdiffstats
path: root/apps/federation
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2016-02-01 16:30:05 +0100
committerBjörn Schießle <bjoern@schiessle.org>2016-02-01 16:30:05 +0100
commit2f739a89f524ce39873e159d0129cfb3e5c9a88b (patch)
tree4ffea3a2158639dee23600fad314151a7181b94c /apps/federation
parent32067ac49b6f891471a6b5672c903a390b4ac26d (diff)
downloadnextcloud-server-2f739a89f524ce39873e159d0129cfb3e5c9a88b.tar.gz
nextcloud-server-2f739a89f524ce39873e159d0129cfb3e5c9a88b.zip
pass parameter in the right order to syncRemoteAddressBook()
Diffstat (limited to 'apps/federation')
-rw-r--r--apps/federation/lib/syncfederationaddressbooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federation/lib/syncfederationaddressbooks.php b/apps/federation/lib/syncfederationaddressbooks.php
index 86fc4179dc4..6419fdddf8e 100644
--- a/apps/federation/lib/syncfederationaddressbooks.php
+++ b/apps/federation/lib/syncfederationaddressbooks.php
@@ -46,7 +46,7 @@ class SyncFederationAddressBooks {
'{DAV:}displayname' => $url
];
try {
- $newToken = $this->syncService->syncRemoteAddressBook($url, 'system', $sharedSecret, $syncToken, $targetPrincipal, $targetBookId, $targetBookProperties);
+ $newToken = $this->syncService->syncRemoteAddressBook($url, 'system', $sharedSecret, $syncToken, $targetBookId, $targetPrincipal, $targetBookProperties);
if ($newToken !== $syncToken) {
$this->dbHandler->setServerStatus($url, TrustedServers::STATUS_OK, $newToken);
}