]> source.dussan.org Git - nextcloud-server.git/commitdiff
pass parameter in the right order to syncRemoteAddressBook()
authorBjörn Schießle <bjoern@schiessle.org>
Mon, 1 Feb 2016 15:30:05 +0000 (16:30 +0100)
committerBjörn Schießle <bjoern@schiessle.org>
Mon, 1 Feb 2016 15:30:05 +0000 (16:30 +0100)
apps/federation/lib/syncfederationaddressbooks.php

index 86fc4179dc4ac3a558c8fc37f63abfbdd0559199..6419fdddf8e39ba5ad2bd8c7354c5b72d87c335d 100644 (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);
                                }