You are here

location_taxonomy.install in Location 7.3

Install, update and uninstall functions for the location_taxonomy module.

File

contrib/location_taxonomy/location_taxonomy.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the location_taxonomy module.
 */

/**
 * Implements hook_uninstall().
 */
function location_taxonomy_uninstall() {

  // @@@ Delete data?
  // Delete vocabulary location settings.
  $result = db_query("SELECT name FROM {variable} WHERE name LIKE 'location_taxonomy_%'")
    ->fetchCol();
  foreach ($result as $var) {
    variable_del($var);
  }
}

Functions

Namesort descending Description
location_taxonomy_uninstall Implements hook_uninstall().