You are here

function acquia_search_update_7002 in Acquia Connector 7.2

Same name and namespace in other branches
  1. 7.3 acquia_search/acquia_search.install \acquia_search_update_7002()

Remove apachesolr_service_class if it was set to AcquiaSearchService.

This can be left set incorrectly when upgrading from Drupal 6 to Drupal 7.

File

acquia_search/acquia_search.install, line 189

Code

function acquia_search_update_7002() {

  // No need to set apachesolr_service_class for Acquia, since each
  // environment can have a separate class.
  $class = variable_get('apachesolr_service_class', '');
  if ($class && strpos($class, 'Acquia') === 0) {
    variable_del('apachesolr_service_class');
  }
}