Index: weblink.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/weblink/weblink.module,v
retrieving revision 1.74
diff -u -r1.74 weblink.module
--- weblink.module      18 Mar 2005 13:12:08 -0000      1.74
+++ weblink.module      23 Mar 2005 13:12:52 -0000
@@ -1158,18 +1158,4 @@
   }
 }
 
-function weblink_search($keys) {
-
-  $find = do_search(array("keys" => $keys, "type" => "node", "select" => "select s.lno as lno, n.title as title, n.created as created, u.uid as uid, u.name as name, s.count as count FROM search_index s, node n LEFT JOIN users u ON n.uid = u.uid WHERE s.lno = n.nid AND s.type = 'weblink' AND s.word like '%' /*AND n.status = 1*/"));
-  return array(t('Matching comments ranked in order of relevance'), $find);
-}
-
-
-function weblink_update_index() {
-
-  return array("last_update" => "weblink_cron_last",
-         "node_type" => "weblink", "node_type_delete" => "node", 
-         "select" => "SELECT n.nid as lno, CONCAT(n.title, ' ', n.body) as text1, CONCAT( l.weblink, ' ', l.author, ' ', l.publisher, ' ', l.translator) as text2 FROM node n INNER JOIN weblink l on n.nid=l.nid WHERE n.status = 1 AND moderate = 0 and (created > " . variable_get("weblink_cron_last", 1) . " or changed > " . variable_get("weblink_cron_last", 1) . ")");
-}
-
 ?>
