aboutsummaryrefslogtreecommitdiffstats
path: root/mod/content.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-17 05:30:32 -0700
committerfriendica <info@friendica.com>2012-07-17 05:30:32 -0700
commit359c74d320eef7fad24a30b677522a428affe509 (patch)
treead55a535a681559a93daf5929346ca49f7de0063 /mod/content.php
parent91e4c2fce1d3004dcdec589035084c4e8ee9a1b4 (diff)
downloadvolse-hubzilla-359c74d320eef7fad24a30b677522a428affe509.tar.gz
volse-hubzilla-359c74d320eef7fad24a30b677522a428affe509.tar.bz2
volse-hubzilla-359c74d320eef7fad24a30b677522a428affe509.zip
error cleanup
Diffstat (limited to 'mod/content.php')
-rw-r--r--mod/content.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/mod/content.php b/mod/content.php
index 7799ee6ad..cde62d046 100644
--- a/mod/content.php
+++ b/mod/content.php
@@ -278,18 +278,6 @@ function content_content(&$a, $update = 0) {
$second = dba_timer();
- $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,$ordering);