Merge pull request #9644 from annando/dfrn-deletions

Critical: Avoid dropping of incoming DFRN messages
This commit is contained in:
Hypolite Petovan 2020-12-10 03:39:40 -05:00 committed by GitHub
commit 675f54e44f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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) {