diff --git a/src/Model/Item.php b/src/Model/Item.php index 4526be3e92..778b872bbb 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -2018,14 +2018,7 @@ class Item if (!empty($contact['id'])) { $condition = ['uri-id' => $item['parent-uri-id'], 'uid' => $item['uid']]; Item::update(['owner-id' => $item['author-id'], 'contact-id' => $contact['id']], $condition); - $forum_item = Item::selectFirst(['id'], $condition); - if (!empty($forum_item['id'])) { - // This will trigger notifications like "X shared a new post" - UserItem::setNotification($forum_item['id']); - - check_user_notification($forum_item['id']); - } - LOgger::info('Convert message into a forum message', ['uri-id' => $item['uri-id'], 'parent-uri-id' => $item['parent-uri-id'], 'uid' => $item['uid'], 'owner-id' => $item['author-id'], 'contact-id' => $contact['id']]); + Logger::info('Convert message into a forum message', ['uri-id' => $item['uri-id'], 'parent-uri-id' => $item['parent-uri-id'], 'uid' => $item['uid'], 'owner-id' => $item['author-id'], 'contact-id' => $contact['id']]); } }