Commit ce95e834 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #588 in ZP/z-push from bugfix/ZP-1277-fatal-error-in-ping to develop

* commit 'f6a273b2':
  ZP-1277 Try to get folder class only for non fake changes.
parents 18c88cd9 f6a273b2
...@@ -226,7 +226,9 @@ class Ping extends RequestProcessor { ...@@ -226,7 +226,9 @@ class Ping extends RequestProcessor {
self::$encoder->content($folderid); self::$encoder->content($folderid);
self::$encoder->endTag(); self::$encoder->endTag();
if ($announceAggregated === false) { if ($announceAggregated === false) {
self::$topCollector->AnnounceInformation(sprintf("Found change in %s", $sc->GetCollection($folderid)->GetContentClass()), true); if (empty($fakechanges)) {
self::$topCollector->AnnounceInformation(sprintf("Found change in %s", $sc->GetCollection($folderid)->GetContentClass()), true);
}
} }
else { else {
$announceAggregated += $changecount; $announceAggregated += $changecount;
......
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