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,9 +2709,11 @@ class DFRN
foreach ($deletions as $deletion) {
self::processDeletion($xpath, $deletion, $importer);
}
if (count($deletions) > 0) {
Logger::notice('Deletions had been processed');
return 200;
}
}
if (!$sort_by_date) {
$entries = $xpath->query("/atom:feed/atom:entry");