diff options
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/conversation.php b/include/conversation.php index 56bcef559..88da4a0b9 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1035,20 +1035,10 @@ function conv_sort($arr,$order) { foreach($parents as $i=>$_x) $parents[$i]['children'] = get_item_children($arr, $_x); - /*foreach($arr as $x) { - if($x['id'] != $x['parent']) { - $p = find_thread_parent_index($parents,$x); - if($p !== false) - $parents[$p]['children'][] = $x; - } - }*/ if(count($parents)) { foreach($parents as $k => $v) { if(count($parents[$k]['children'])) { $parents[$k]['children'] = sort_item_children($parents[$k]['children']); - /*$y = $parents[$k]['children']; - usort($y,'sort_thr_created_rev'); - $parents[$k]['children'] = $y;*/ } } } @@ -1059,8 +1049,6 @@ function conv_sort($arr,$order) { $ret[] = $x; if(count($x['children'])) add_children_to_list($x['children'], $ret); - /*foreach($x['children'] as $y) - $ret[] = $y;*/ } } |