mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 02:35:12 +00:00
remove incorrect legacy code
This commit is contained in:
parent
0cf18bad16
commit
a2c4d094f4
1 changed files with 1 additions and 6 deletions
|
@ -2895,12 +2895,7 @@ function start_delivery_chain($channel, $item, $item_id, $parent, $edit = false)
|
|||
$arr['deny_cid'] = $channel['channel_deny_cid'];
|
||||
$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'];
|
||||
|
|
Loading…
Reference in a new issue