You are here

search_api_ranges.install in Search API ranges 7

Install and uninstall functions.

File

search_api_ranges.install
View source
<?php

/**
 * @file
 * Install and uninstall functions.
 */

/**
 * Implements hook_update_N().
 *
 * After migrating to Facet API, we clean up old tables and variables.
 */
function search_api_ranges_7100() {
  variable_del('search_api_ranges_search_ids');
  $table = 'search_api_ranges';
  if (db_table_exists($table)) {
    db_drop_table($table);
  }
}

Functions

Namesort descending Description
search_api_ranges_7100 Implements hook_update_N().