pass parameter in the right order to syncRemoteAddressBook()

This commit is contained in:
Björn Schießle 2016-02-01 16:30:05 +01:00
parent 32067ac49b
commit 2f739a89f5
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class SyncFederationAddressBooks {
'{DAV:}displayname' => $url '{DAV:}displayname' => $url
]; ];
try { 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) { if ($newToken !== $syncToken) {
$this->dbHandler->setServerStatus($url, TrustedServers::STATUS_OK, $newToken); $this->dbHandler->setServerStatus($url, TrustedServers::STATUS_OK, $newToken);
} }