diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-06-23 19:45:39 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-06-23 19:45:39 -0700 |
commit | cb76fb8b9b659c4ec06e359f375a35a534927b99 (patch) | |
tree | cb5a77aa95ea6e510e9e1ccb33238d6de0957ec7 /include/items.php | |
parent | 833098e3460e0a2c7fbffaa59163af815f419e68 (diff) | |
download | volse-hubzilla-cb76fb8b9b659c4ec06e359f375a35a534927b99.tar.gz volse-hubzilla-cb76fb8b9b659c4ec06e359f375a35a534927b99.tar.bz2 volse-hubzilla-cb76fb8b9b659c4ec06e359f375a35a534927b99.zip |
item flag fixes discovered after a few merges
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 11 |
1 files changed, 0 insertions, 11 deletions
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), |