mirror of
https://github.com/friendica/friendica
synced 2025-04-25 21:10:11 +00:00
Remove related notifications when marking an item for deletion
This commit is contained in:
parent
a95e93c725
commit
25e1412174
3 changed files with 29 additions and 0 deletions
|
@ -385,6 +385,9 @@ class Item
|
|||
Post\ThreadUser::update($item['uri-id'], $item['uid'], ['hidden' => true]);
|
||||
}
|
||||
|
||||
DI::notify()->deleteForItem($item['uri-id']);
|
||||
DI::notification()->deleteForItem($item['uri-id']);
|
||||
|
||||
Logger::info('Item has been marked for deletion.', ['id' => $item_id]);
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue