You are here

function search_api_facetapi_uninstall in Search API 7

Implements hook_uninstall().

File

contrib/search_api_facetapi/search_api_facetapi.install, line 23
Install, update and uninstall functions for the Search facets module.

Code

function search_api_facetapi_uninstall() {
  variable_del('search_api_facets_search_ids');

  // We have to use the literal values here, as the Facet API module could have
  // already been disabled at this point.
  variable_del('date_format_search_api_facetapi_YEAR');
  variable_del('date_format_search_api_facetapi_MONTH');
  variable_del('date_format_search_api_facetapi_DAY');
  variable_del('date_format_search_api_facetapi_HOUR');
  variable_del('date_format_search_api_facetapi_MINUTE');
  variable_del('date_format_search_api_facetapi_SECOND');
}