Commit 8cf6e1e1 authored by skummer's avatar skummer

ZP-95 related

- fixed: return old synckey in case of errors

git-svn-id: https://z-push.org/svn/z-push/trunk@1304 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 8798cd58
...@@ -146,6 +146,10 @@ class FolderChange extends RequestProcessor { ...@@ -146,6 +146,10 @@ class FolderChange extends RequestProcessor {
$status = $stex->getCode(); $status = $stex->getCode();
} }
// set $newsynckey in case of an error
if (!isset($newsynckey))
$newsynckey = $synckey;
if ($status == SYNC_FSSTATUS_SUCCESS) { if ($status == SYNC_FSSTATUS_SUCCESS) {
try { try {
// Configure importer with last state // Configure importer with last state
......
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