aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-09-22 22:03:19 -0700
committerfriendica <info@friendica.com>2014-09-22 22:03:19 -0700
commite8854bb19dae01b18d2eb13af76d277847bdbb5a (patch)
tree1011266737b735fbd978aed7a60ff4f9c47256c9 /include/conversation.php
parentfb05919d90cac9bb360bbb62b7e89d5c0e59b484 (diff)
downloadvolse-hubzilla-e8854bb19dae01b18d2eb13af76d277847bdbb5a.tar.gz
volse-hubzilla-e8854bb19dae01b18d2eb13af76d277847bdbb5a.tar.bz2
volse-hubzilla-e8854bb19dae01b18d2eb13af76d277847bdbb5a.zip
better way to deal with effective_uid
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php10
1 files changed, 1 insertions, 9 deletions
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();