remove incorrect legacy code

This commit is contained in:
zotlabs 2020-06-13 16:02:48 -07:00
parent 0cf18bad16
commit a2c4d094f4

View file

@ -2896,11 +2896,6 @@ function start_delivery_chain($channel, $item, $item_id, $parent, $edit = false)
$arr['deny_gid'] = $channel['channel_deny_gid'];
$arr['comment_policy'] = map_scope(PermissionLimits::Get($channel['channel_id'],'post_comments'));
q("update item set comment_policy = 'authenticated', item_wall = 1 where mid = '%s' and uid = %d",
dbesc($arr['parent_mid']),
intval($arr['uid'])
);
$post = item_store($arr);
$post_id = $post['item_id'];