From f0a08a05aedd8add7990f26c1a0d1894ddd06683 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 9 Jan 2013 23:07:13 -0800 Subject: fix the "personal" network filter and introduction notifications --- include/conversation.php | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'include') 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;*/ } } -- cgit v1.2.3