You are here

function acquia_search_update_6300 in Acquia Search 6.3

Removing acquia_search_url variable as it has been split up to acquia_search_base_url and acquia_search_path

File

./acquia_search.install, line 92

Code

function acquia_search_update_6300() {
  $ret = array();

  // Reset some variables
  variable_del('acquia_search_host');
  variable_del('acquia_search_port');
  variable_del('acquia_search_path');
  variable_del('acquia_search_url');

  // 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');
  }
  return $ret;
}