You are here

function search_wipe_confirm_submit in Drupal 4

Same name and namespace in other branches
  1. 5 modules/search/search.module \search_wipe_confirm_submit()
  2. 6 modules/search/search.admin.inc \search_wipe_confirm_submit()

Handler for wipe confirmation

File

modules/search.module, line 243
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';
  }
}