summaryrefslogtreecommitdiff
path: root/modules/search/search.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-07-01 20:39:20 +0000
committerDries Buytaert <dries@buytaert.net>2009-07-01 20:39:20 +0000
commite9ca98b69d45b935fe4963a345cba92a87164ddb (patch)
tree44649b4db3ce1c4c8919255fb55f459c0f44c673 /modules/search/search.module
parentd9ab38b2d02037e0af3916b1d99120389e9aadd9 (diff)
downloadbrdo-e9ca98b69d45b935fe4963a345cba92a87164ddb.tar.gz
brdo-e9ca98b69d45b935fe4963a345cba92a87164ddb.tar.bz2
- Patch #504678 by catch: use objects instead of arrays.
Diffstat (limited to 'modules/search/search.module')
-rw-r--r--modules/search/search.module8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/search/search.module b/modules/search/search.module
index 46ec2baf2..5dc426210 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -664,17 +664,17 @@ function search_node_update($node) {
/**
* Implement hook_comment_insert().
*/
-function search_comment_insert($form_values) {
+function search_comment_insert($comment) {
// Reindex the node when comments are added.
- search_touch_node($form_values['nid']);
+ search_touch_node($comment->nid);
}
/**
* Implement hook_comment_update().
*/
-function search_comment_update($form_values) {
+function search_comment_update($comment) {
// Reindex the node when comments are changed.
- search_touch_node($form_values['nid']);
+ search_touch_node($comment->nid);
}
/**