From cb76fb8b9b659c4ec06e359f375a35a534927b99 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 23 Jun 2015 19:45:39 -0700 Subject: item flag fixes discovered after a few merges --- include/items.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index 3a86717bb..ee8ce5575 100755 --- a/include/items.php +++ b/include/items.php @@ -3225,17 +3225,6 @@ function start_delivery_chain($channel, $item, $item_id, $parent) { $title = $item['title']; $body = $item['body']; - if(! $private) { - if($flag_bits & ITEM_OBSCURED) { - $key = get_config('system','prvkey'); - if($title) - $title = crypto_unencapsulate(json_decode($title,true),$key); - if($body) - $body = crypto_unencapsulate(json_decode($body,true),$key); - $item_obscured = 0; - } - } - $r = q("update item set item_uplink = %d, item_nocomment = %d, item_obscured = %d, item_flags = %d, owner_xchan = '%s', allow_cid = '%s', allow_gid = '%s', deny_cid = '%s', deny_gid = '%s', item_private = %d, public_policy = '%s', comment_policy = '%s', title = '%s', body = '%s', item_wall = %d, item_origin = %d where id = %d", intval($item_uplink), -- cgit v1.2.3