Commit f5264e5f authored by mku's avatar mku

ZP-301 #comment Windows mobile 6.1/6.5 doesn't work with Z-Push 2 #time 1h

git-svn-id: https://z-push.org/svn/z-push/trunk@1539 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 0c20dc90
......@@ -446,8 +446,8 @@ class Sync extends RequestProcessor {
if ($status == SYNC_STATUS_SUCCESS && $this->importer !== false) {
ZLog::Write(LOGLEVEL_INFO, sprintf("Processed '%d' incoming changes", $nchanges));
if (!$actiondata["fetchids"])
self::$topCollector->AnnounceInformation(sprintf("%d incoming", $nchanges), true);
if (!$actiondata["fetchids"])
self::$topCollector->AnnounceInformation(sprintf("%d incoming", $nchanges), true);
try {
// Save the updated state, which is used for the exporter later
......@@ -714,12 +714,6 @@ class Sync extends RequestProcessor {
self::$encoder->startTag(SYNC_FOLDER);
if($spa->HasContentClass()) {
self::$encoder->startTag(SYNC_FOLDERTYPE);
self::$encoder->content($spa->GetContentClass());
self::$encoder->endTag();
}
self::$encoder->startTag(SYNC_SYNCKEY);
if($status == SYNC_STATUS_SUCCESS && $spa->HasNewSyncKey())
self::$encoder->content($spa->GetNewSyncKey());
......
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