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) {
self::processDeletion($xpath, $deletion, $importer);
}
Logger::notice('Deletions had been processed');
return 200;
if (count($deletions) > 0) {
Logger::notice('Deletions had been processed');
return 200;
}
}
if (!$sort_by_date) {