Avoid dropping of incoming DFRN messages

This commit is contained in:
Michael 2020-12-10 07:22:49 +00:00
parent 34056c2e46
commit 965374596f

View file

@ -2709,8 +2709,10 @@ class DFRN
foreach ($deletions as $deletion) { foreach ($deletions as $deletion) {
self::processDeletion($xpath, $deletion, $importer); self::processDeletion($xpath, $deletion, $importer);
} }
Logger::notice('Deletions had been processed'); if (count($deletions) > 0) {
return 200; Logger::notice('Deletions had been processed');
return 200;
}
} }
if (!$sort_by_date) { if (!$sort_by_date) {