diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-12-09 11:30:25 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-12-09 11:30:25 +0000 |
commit | c0cb68abccfa5daa442ad3deb410b81c7da7a52b (patch) | |
tree | 81b7674938d4407a487b6d9735f2a30cf26a6380 /modules/search/search.module | |
parent | 7c30a1bac9ce4843178203040306c7ffd4dbc20c (diff) | |
download | brdo-c0cb68abccfa5daa442ad3deb410b81c7da7a52b.tar.gz brdo-c0cb68abccfa5daa442ad3deb410b81c7da7a52b.tar.bz2 |
- Patch #319356 by recidive: clean up hook_nodeapi_ fucntion signatures and documentation because of previous node API clean-ups.
Diffstat (limited to 'modules/search/search.module')
-rw-r--r-- | modules/search/search.module | 4 |
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); |