function search_wipe_confirm in Drupal 5
Same name and namespace in other branches
- 4 modules/search.module \search_wipe_confirm()
- 6 modules/search/search.admin.inc \search_wipe_confirm()
Menu callback: confirm wiping of the index.
1 string reference to 'search_wipe_confirm'
- search_menu in modules/
search/ search.module - Implementation of hook_menu().
File
- modules/
search/ search.module, line 239 - Enables site-wide keyword searching.
Code
function search_wipe_confirm() {
return confirm_form(array(), t('Are you sure you want to re-index the site?'), 'admin/settings/search', t(' The search index is not cleared but systematically updated to reflect the new settings. Searching will continue to work but new content won\'t be indexed until all existing content has been re-indexed. This action cannot be undone.'), t('Re-index site'), t('Cancel'));
}