mirror of
https://github.com/friendica/friendica
synced 2025-04-25 09:10:11 +00:00
Merge pull request #8359 from MrPetovan/bug/7134-local-post-deleted
Add callstack context to cascade deletion debug logging
This commit is contained in:
commit
aa3194b8ba
11 changed files with 36 additions and 37 deletions
|
@ -220,7 +220,7 @@ class Processor
|
|||
$owner = Contact::getIdForURL($activity['actor']);
|
||||
|
||||
Logger::log('Deleting item ' . $activity['object_id'] . ' from ' . $owner, Logger::DEBUG);
|
||||
Item::delete(['uri' => $activity['object_id'], 'owner-id' => $owner]);
|
||||
Item::markForDeletion(['uri' => $activity['object_id'], 'owner-id' => $owner]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -873,7 +873,7 @@ class Processor
|
|||
return;
|
||||
}
|
||||
|
||||
Item::delete(['uri' => $activity['object_id'], 'author-id' => $author_id, 'gravity' => GRAVITY_ACTIVITY]);
|
||||
Item::markForDeletion(['uri' => $activity['object_id'], 'author-id' => $author_id, 'gravity' => GRAVITY_ACTIVITY]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue