You are here

function acquia_search_acquia_subscription_status in Acquia Connector 7

Same name and namespace in other branches
  1. 8 acquia_search/acquia_search.module \acquia_search_acquia_subscription_status()
  2. 7.2 acquia_search/acquia_search.module \acquia_search_acquia_subscription_status()

Implementation of hook_acquia_subscription_status().

File

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

Code

function acquia_search_acquia_subscription_status($active) {
  if ($active) {
    acquia_search_enable_acquia_solr_environment();
  }
  else {
    acquia_search_disable();
  }
}