Commit 12da6f77 authored by skummer's avatar skummer

ZP-455 #comment still respond with empty sync, even if empty flag is not...

ZP-455 #comment still respond with empty sync, even if empty flag is not especifically set, as this broke the S4

git-svn-id: https://z-push.org/svn/z-push/trunk@1761 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent fdd01b33
......@@ -602,7 +602,7 @@ class Sync extends RequestProcessor {
}
// in case there are no changes, we can reply with an empty response
if (!$foundchanges && $status == SYNC_STATUS_SUCCESS && $emptysync == true){
if (!$foundchanges && $status == SYNC_STATUS_SUCCESS){
ZLog::Write(LOGLEVEL_DEBUG, "No changes found. Replying with empty response and closing connection.");
self::$specialHeaders = array();
self::$specialHeaders[] = "Connection: close";
......
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