summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-04-05 18:11:42 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-04-05 18:11:42 +0000
commit7dfd5f0b7e04013ccc6c27c5df0eddce0e1b86de (patch)
tree91c334125a9b5e6f9438d13fb8017055929d6016 /modules/comment/comment.module
parent6d959ebe3f340e4c7f11a22c67605853411d3790 (diff)
downloadbrdo-7dfd5f0b7e04013ccc6c27c5df0eddce0e1b86de.tar.gz
brdo-7dfd5f0b7e04013ccc6c27c5df0eddce0e1b86de.tar.bz2
- my editor got set up to insert tabs instead of spaces. Cleaning up.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 234990611..ff56abfb8 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -565,7 +565,7 @@ function comment_search($keys) {
$find = do_search(array("keys" => $keys,
"type" => "comment",
"select" => "select s.lno as lno, c.nid as nid, c.subject as title, c.timestamp as created, u.uid as uid, u.name as name, s.count as count FROM search_index s, comments c LEFT JOIN users u ON c.uid = u.uid WHERE s.lno = c.cid AND s.type = 'comment' AND s.word like '%'"));
-
+
return $find;
}
@@ -761,8 +761,8 @@ function comment_update_index() {
// the table we are indexing. In this case, we also check against the
// last run date for the comments update.
return array("last_update" => "comment_cron_last",
- "node_type" => "comment",
- "select" => "SELECT c.cid as lno, c.subject as text1, c.comment as text2 FROM comments c WHERE timestamp > ". variable_get("comment_cron_last", 1));
+ "node_type" => "comment",
+ "select" => "SELECT c.cid as lno, c.subject as text1, c.comment as text2 FROM comments c WHERE timestamp > ". variable_get("comment_cron_last", 1));
}
?>