From c0cb68abccfa5daa442ad3deb410b81c7da7a52b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 9 Dec 2008 11:30:25 +0000 Subject: - Patch #319356 by recidive: clean up hook_nodeapi_ fucntion signatures and documentation because of previous node API clean-ups. --- modules/search/search.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/search') 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); -- cgit v1.2.3