From 29436081a86650e7905a79eba4fdf7dc12f1c7c9 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 21 Jan 2015 16:06:25 -0800 Subject: slow progress removing bitfields on item table --- mod/thing.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mod/thing.php') diff --git a/mod/thing.php b/mod/thing.php index f53a6ab7b..4896c8a6e 100644 --- a/mod/thing.php +++ b/mod/thing.php @@ -182,8 +182,10 @@ function thing_init(&$a) { $arr['owner_xchan'] = $channel['channel_hash']; $arr['author_xchan'] = $channel['channel_hash']; + $arr['item_origin'] = 1; + $arr['item_wall'] = 1; + $arr['item_thread_top'] = 1; - $arr['item_flags'] = ITEM_ORIGIN|ITEM_WALL|ITEM_THREAD_TOP; $ulink = '[zrl=' . $channel['xchan_url'] . ']' . $channel['channel_name'] . '[/zrl]'; $plink = '[zrl=' . $term['url'] . ']' . $term['term'] . '[/zrl]'; -- cgit v1.2.3