From f0229c9f42379d0f5b60bb56797dbbde05b00fcf Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 27 May 2025 09:02:52 +0000 Subject: [PATCH] update todo --- include/items.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/items.php b/include/items.php index a2c171a64..05e220415 100644 --- a/include/items.php +++ b/include/items.php @@ -5411,6 +5411,8 @@ function item_activity_sql($prefix = 'c') { * @param int $id */ +// TODO: streamline reactions logic with items_by_parent_ids() + function item_by_item_id(int $id): array { if (!$id) { @@ -5669,7 +5671,7 @@ function item_reaction_sql(string $ids, string $permission_sql = ''): array * @param int $parent */ -// TODO: streamline logic with items_by_parent_ids() - +// TODO: streamline reactions logic with items_by_parent_ids() function items_by_thr_parent(string $mid, int $parent): array { if (!$mid && !$parent) {