From e8854bb19dae01b18d2eb13af76d277847bdbb5a Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 22 Sep 2014 22:03:19 -0700 Subject: better way to deal with effective_uid --- include/conversation.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'include/conversation.php') diff --git a/include/conversation.php b/include/conversation.php index 17792e09a..b0a388a68 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1230,19 +1230,11 @@ function add_children_to_list($children, &$arr) { } } -function conv_sort($arr,$order,$uid = 0) { +function conv_sort($arr,$order) { if((!(is_array($arr) && count($arr)))) return array(); - if($uid) { - for($x = 0; $x < count($arr); $x ++) { - $arr[$x]['real_uid'] = $arr[$x]['uid']; - $arr[$x]['uid'] = $uid; - } - } - - $parents = array(); $children = array(); -- cgit v1.2.3