Commit c54b46ea authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #151 in ZP/z-push from...

Merge pull request #151 in ZP/z-push from bugfix/ZP-841-synckey-0-needs-to-invalidate-folderstat to develop

* commit 'd4e23e25':
  ZP-841 Reset folderstat when SyncKey "0" is received.
parents 5f7d4562 d4e23e25
......@@ -151,8 +151,10 @@ class Sync extends RequestProcessor {
throw new StateInvalidException("Saved state are not of type SyncParameters");
// new/resync requested
if ($synckey == "0")
if ($synckey == "0") {
$spa->RemoveSyncKey();
$spa->DelFolderStat();
}
else if ($synckey !== false)
$spa->SetSyncKey($synckey);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment