diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-17 22:44:52 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-17 22:44:52 +0000 |
commit | 8d01aeb4287be61195a43305e34f379086914f5d (patch) | |
tree | 88ef91e8532ed82085dfa5ce8a854116f891173b /modules/search/search.module | |
parent | 8847f4c9a2edcd2f555d6a47b5037c88c671cc3c (diff) | |
download | brdo-8d01aeb4287be61195a43305e34f379086914f5d.tar.gz brdo-8d01aeb4287be61195a43305e34f379086914f5d.tar.bz2 |
#710142 by Berdir, moshe weitzman, chx: Handle exceptions in shutdown functions (with tests). Hopefully the last of these weird 'Stack frame in Unknown line 0' errors.
Diffstat (limited to 'modules/search/search.module')
-rw-r--r-- | modules/search/search.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/search/search.module b/modules/search/search.module index 4fefecc60..36a0c1820 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -341,7 +341,7 @@ function search_dirty($word = NULL) { function search_cron() { // We register a shutdown function to ensure that search_total is always up // to date. - register_shutdown_function('search_update_totals'); + drupal_register_shutdown_function('search_update_totals'); foreach(variable_get('search_active_modules', array('node', 'user')) as $module) { // Update word index |