aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/mod/profile.php b/mod/profile.php
index b5fdeec3a..78507820f 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -282,17 +282,6 @@ function profile_content(&$a, $update = 0) {
dbesc($parents_str)
);
- $tag_finder = array();
- if(count($items))
- foreach($items as $item)
- if(! in_array($item['item_id'],$tag_finder))
- $tag_finder[] = $item['item_id'];
- $tag_finder_str = implode(', ', $tag_finder);
- $tags = q("select * from term where oid in ( '%s' ) and otype = %d",
- dbesc($tag_finder_str),
- intval(TERM_OBJ_POST)
- );
-
$items = fetch_post_tags($items);
$items = conv_sort($items,'created');