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.module5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/search/search.module b/modules/search/search.module
index 6b842d7f0..5c07acb31 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -281,10 +281,7 @@ function search_cron() {
register_shutdown_function('search_update_totals');
// Update word index
- foreach (module_implements('update_index') as $module) {
- $function = $module . '_update_index';
- $function();
- }
+ module_invoke_all('update_index');
}
/**