function search_wipe_confirm_submit in Drupal 5
Same name and namespace in other branches
- 4 modules/search.module \search_wipe_confirm_submit()
- 6 modules/search/search.admin.inc \search_wipe_confirm_submit()
Handler for wipe confirmation
File
- modules/
search/ search.module, line 247 - Enables site-wide keyword searching.
Code
function search_wipe_confirm_submit($form_id, &$form) {
if ($form['confirm']) {
search_wipe();
drupal_set_message(t('The index will be rebuilt.'));
return 'admin/settings/search';
}
}