summaryrefslogtreecommitdiff
path: root/modules/search/search.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/search/search.module')
-rw-r--r--modules/search/search.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/search/search.module b/modules/search/search.module
index e14d26bb7..8bb5a74d3 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -638,7 +638,7 @@ function search_touch_node($nid) {
/**
* Implementation of hook_nodeapi_update_index().
*/
-function search_nodeapi_update_index(&$node, $teaser = NULL, $page = NULL) {
+function search_nodeapi_update_index($node) {
// Transplant links to a node into the target node.
$result = db_query("SELECT caption FROM {search_node_links} WHERE nid = %d", $node->nid);
$output = array();
@@ -651,7 +651,7 @@ function search_nodeapi_update_index(&$node, $teaser = NULL, $page = NULL) {
/**
* Implementation of hook_nodeapi_update().
*/
-function search_nodeapi_update(&$node, $teaser = NULL, $page = NULL) {
+function search_nodeapi_update($node) {
// Reindex the node when it is updated. The node is automatically indexed
// when it is added, simply by being added to the node table.
search_touch_node($node->nid);