From 2a4e8972e0edfa3156d9ce54d68ce0e54c0ec289 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 18 Apr 2016 20:38:38 -0700 Subject: module updates --- mod/search_ac.php | 76 ------------------------------------------------------- 1 file changed, 76 deletions(-) delete mode 100644 mod/search_ac.php (limited to 'mod/search_ac.php') diff --git a/mod/search_ac.php b/mod/search_ac.php deleted file mode 100644 index 6ffdc6ed5..000000000 --- a/mod/search_ac.php +++ /dev/null @@ -1,76 +0,0 @@ - $g['xchan_photo_s'], - "name" => '@'.$g['xchan_name'], - "id" => $g['abook_id'], - "link" => $g['xchan_url'], - "label" => '', - "nick" => '', - ); - } - } - - $r = q("select distinct term, tid, url from term where type in ( %d, %d ) $tag_sql_extra group by term order by term asc", - intval(TERM_HASHTAG), - intval(TERM_COMMUNITYTAG) - ); - - if(count($r)) { - foreach($r as $g) { - $results[] = array( - "photo" => z_root() . '/images/hashtag.png', - "name" => '#'.$g['term'], - "id" => $g['tid'], - "link" => $g['url'], - "label" => '', - "nick" => '', - ); - } - } - - header("content-type: application/json"); - $o = array( - 'start' => $start, - 'count' => $count, - 'items' => $results, - ); - echo json_encode($o); - - logger('search_ac: ' . print_r($x,true)); - - killme(); -} - - -- cgit v1.2.3