aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2025-05-29 19:31:23 +0000
committerMario <mario@mariovavti.com>2025-05-29 19:31:23 +0000
commit7705d7a87fc4bea1650e178c243c9e802d452d7e (patch)
treefc3e34a1a85370af75d78508e0f673795e2a3366
parent3060126123aed6f51a43894114a70b0150d1b00a (diff)
downloadvolse-hubzilla-7705d7a87fc4bea1650e178c243c9e802d452d7e.tar.gz
volse-hubzilla-7705d7a87fc4bea1650e178c243c9e802d452d7e.tar.bz2
volse-hubzilla-7705d7a87fc4bea1650e178c243c9e802d452d7e.zip
this is not required because we already filter by a given set of ids here
-rw-r--r--include/items.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/items.php b/include/items.php
index 535908857..3cb880c2d 100644
--- a/include/items.php
+++ b/include/items.php
@@ -5464,10 +5464,6 @@ function items_by_parent_ids(array $parents, null|array $thr_parents = null, str
0 AS rn
FROM item
WHERE item.id IN ($ids)
- AND (
- item.verb NOT IN ('Like', 'Dislike', 'Announce', 'Accept', 'Reject', 'TentativeAccept', 'Add', 'Remove')
- OR (item.verb = 'Announce' AND item.item_thread_top = 1)
- )
$permission_sql
$item_normal_sql
),