You are here

function panopoly_search_pantheon_apachesolr_post_schema_form_submit in Panopoly Search 7

Submit callback for pantheon_apachesolr_post_schema_form_submit().

1 string reference to 'panopoly_search_pantheon_apachesolr_post_schema_form_submit'
panopoly_search_form_pantheon_apachesolr_post_schema_form_alter in ./panopoly_search.module
Implements hook_form_FORM_ID_alter().

File

./panopoly_search.module, line 96

Code

function panopoly_search_pantheon_apachesolr_post_schema_form_submit($form, &$form_state) {

  // If the schema has been successful posted, then enable Solr.
  if (variable_get('pantheon_apachesolr_schema', FALSE)) {
    panopoly_search_enable_solr();
  }
}