mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:50:11 +00:00
All item selects are now done by the post class
This commit is contained in:
parent
2d0443a109
commit
b892db0cf3
16 changed files with 108 additions and 688 deletions
|
@ -92,7 +92,7 @@ class UserItem
|
|||
*/
|
||||
private static function setNotificationForUser(array $item, int $uid)
|
||||
{
|
||||
$thread = Item::selectFirstThreadForUser($uid, ['ignored'], ['iid' => $item['parent'], 'deleted' => false]);
|
||||
$thread = Post::selectFirstThreadForUser($uid, ['ignored'], ['iid' => $item['parent'], 'deleted' => false]);
|
||||
if (!empty($thread['ignored'])) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue