Commit 0735bd49 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-848 SetSyncKey in SPO always if it is set (as before), but invalidate

FolderStat if it does not change.

Released under the Affero GNU General Public License (AGPL) version 3.
parent f0e80cd2
......@@ -164,9 +164,11 @@ class Sync extends RequestProcessor {
$spa->RemoveSyncKey();
$spa->DelFolderStat();
}
else if ($synckey !== false && $synckey !== $spa->GetSyncKey()) {
ZLog::Write(LOGLEVEL_DEBUG, "HandleSync(): Synckey does not match latest saved for this folder, removing folderstat to force Exporter setup");
$spa->DelFolderStat();
else if ($synckey !== false) {
if ($synckey !== $spa->GetSyncKey()) {
ZLog::Write(LOGLEVEL_DEBUG, "HandleSync(): Synckey does not match latest saved for this folder, removing folderstat to force Exporter setup");
$spa->DelFolderStat();
}
$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