diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-04-26 09:14:32 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-04-26 09:14:32 +0000 |
commit | 1c076bc89f7a7374859e025c99f2eb5ea092188e (patch) | |
tree | 74f0307600b2b77a12bceeba6f88deafd22733f4 /modules/search | |
parent | 9af602fe17e6346360e640e403843494c84ecca0 (diff) | |
download | brdo-1c076bc89f7a7374859e025c99f2eb5ea092188e.tar.gz brdo-1c076bc89f7a7374859e025c99f2eb5ea092188e.tar.bz2 |
- Patch #19837 by xmacinfo, j.somers: make 'not verified' togglable as a theme setting.
Diffstat (limited to 'modules/search')
-rw-r--r-- | modules/search/search.api.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/search/search.api.php b/modules/search/search.api.php index f20664ba0..5a0b0225f 100644 --- a/modules/search/search.api.php +++ b/modules/search/search.api.php @@ -177,7 +177,7 @@ function hook_search($op = 'search', $keys = null) { // Fetch terms for snippet. $node->body .= module_invoke('taxonomy', 'node', $node, 'update_index'); - $extra = node_invoke_node($node, 'search_result'); + $extra = module_invoke_all('node_search_result', $node); $results[] = array( 'link' => url('node/' . $item->sid, array('absolute' => TRUE)), @@ -265,12 +265,12 @@ function hook_update_index() { $node = node_prepare($node, false); } // Allow modules to change $node->body before viewing. - node_invoke_node($node, 'view', false, false); + module_invoke_all('node_view', $node, false, false); $text = '<h1>' . drupal_specialchars($node->title) . '</h1>' . $node->body; // Fetch extra data normally not visible - $extra = node_invoke_node($node, 'update_index'); + $extra = module_invoke_all('node_update_index', $node); foreach ($extra as $t) { $text .= $t; } |