You are here

function apachesolr_clear_index_confirm_submit in Apache Solr Search 6

Same name and namespace in other branches
  1. 5.2 apachesolr.admin.inc \apachesolr_clear_index_confirm_submit()
  2. 6.2 apachesolr.admin.inc \apachesolr_clear_index_confirm_submit()

Submit function for the "Re-index all content" confirmation form.

See also

apachesolr_clear_index_confirm()

File

./apachesolr.admin.inc, line 404
Administrative pages for the Apache Solr framework.

Code

function apachesolr_clear_index_confirm_submit($form, &$form_state) {
  $form_state['redirect'] = 'admin/settings/apachesolr/index';
  apachesolr_rebuild_index_table();
}