mirror of
https://github.com/friendica/friendica
synced 2025-04-27 01:50:11 +00:00
Don't create the parent during a deletion
This commit is contained in:
parent
f9994548c1
commit
1f1697222b
2 changed files with 17 additions and 9 deletions
|
@ -2705,8 +2705,12 @@ class DFRN
|
|||
}
|
||||
|
||||
$deletions = $xpath->query("/atom:feed/at:deleted-entry");
|
||||
foreach ($deletions as $deletion) {
|
||||
self::processDeletion($xpath, $deletion, $importer);
|
||||
if (!empty($deletions)) {
|
||||
foreach ($deletions as $deletion) {
|
||||
self::processDeletion($xpath, $deletion, $importer);
|
||||
}
|
||||
Logger::notice('Deletions had been processed');
|
||||
return 200;
|
||||
}
|
||||
|
||||
if (!$sort_by_date) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue