aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-10 19:28:02 -0700
committerfriendica <info@friendica.com>2012-07-10 19:28:02 -0700
commite7957e14489ce8eb3b69ebede928dfe441a4924d (patch)
treee25fde990e36171053364c71471d9b90fd5633ef /include/conversation.php
parent94fabe3a2942ca93b436694f180f8eb2a72df918 (diff)
downloadvolse-hubzilla-e7957e14489ce8eb3b69ebede928dfe441a4924d.tar.gz
volse-hubzilla-e7957e14489ce8eb3b69ebede928dfe441a4924d.tar.bz2
volse-hubzilla-e7957e14489ce8eb3b69ebede928dfe441a4924d.zip
create fetch_tags function, make search work again, change logo
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php15
1 files changed, 1 insertions, 14 deletions
diff --git a/include/conversation.php b/include/conversation.php
index f81a7e7d2..ce8f5779c 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1102,26 +1102,13 @@ function status_editor($a,$x, $notes_cid = 0, $popup=false) {
}
-function conv_sort($arr,$tags,$order) {
+function conv_sort($arr,$order) {
if((!(is_array($arr) && count($arr))))
return array();
$parents = array();
-
- for($x = 0; $x < count($arr); $x ++) {
- if(count($tags)) {
- foreach($tags as $t) {
- if($t['oid'] == $arr[$x]['item_id']) {
- if(! is_array($arr[$x]['term']))
- $arr[$x]['term'] = array();
- $arr[$x]['term'][] = $t;
- }
- }
- }
- }
-
foreach($arr as $x)
if($x['id'] == $x['parent'])
$parents[] = $x;