Merge pull request #22050 from owncloud/fix_sync_addressbook

pass parameter in the right order to syncRemoteAddressBook()
This commit is contained in:
Thomas Müller 2016-02-01 23:20:42 +01:00
commit 333bb5a227
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}