Browse Source

Merge pull request #22050 from owncloud/fix_sync_addressbook

pass parameter in the right order to syncRemoteAddressBook()
tags/v9.0beta1
Thomas Müller 8 years ago
parent
commit
333bb5a227
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/federation/lib/syncfederationaddressbooks.php

+ 1
- 1
apps/federation/lib/syncfederationaddressbooks.php 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);
}

Loading…
Cancel
Save