瀏覽代碼

Merge pull request #22050 from owncloud/fix_sync_addressbook

pass parameter in the right order to syncRemoteAddressBook()
tags/v9.0beta1
Thomas Müller 8 年之前
父節點
當前提交
333bb5a227
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      apps/federation/lib/syncfederationaddressbooks.php

+ 1
- 1
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);
}

Loading…
取消
儲存