You are here

function acquia_search_settings_submit in Acquia Search 6

Added submit function for acquia_agent_settings and apachesolr_settings forms.

1 call to acquia_search_settings_submit()
acquia_search_flush_caches in ./acquia_search.module
Implementation of hook_flush_caches().
2 string references to 'acquia_search_settings_submit'
acquia_search_form_acquia_agent_settings_form_alter in ./acquia_search.module
Implementation of hook_form_[form_id]_alter().
acquia_search_form_apachesolr_settings_alter in ./acquia_search.module
Implementation of hook_form_[form_id]_alter().

File

./acquia_search.module, line 190
Integration between Acquia Drupal and Acquia's hosted solr search service.

Code

function acquia_search_settings_submit() {
  if (acquia_agent_subscription_is_active()) {
    _acquia_search_set_variables();
  }
  else {
    acquia_search_delete_variables();
  }
}