You are here

function taxonomy_edge_uninstall in Taxonomy Edge 6

Same name and namespace in other branches
  1. 8 taxonomy_edge.install \taxonomy_edge_uninstall()
  2. 7.2 taxonomy_edge.install \taxonomy_edge_uninstall()
  3. 7 taxonomy_edge.install \taxonomy_edge_uninstall()

Implements hook_uninstall().

File

./taxonomy_edge.install, line 31
Installation file for Taxonomy Edge

Code

function taxonomy_edge_uninstall() {
  $ret = array();
  $ret[] = drupal_uninstall_schema('taxonomy_edge');
  db_drop_index($ret, 'node', 'idx_taxonomy_edge');
  db_drop_index($ret, 'term_node', 'idx_taxonomy_edge');
  drupal_set_message(st('Taxonomy Edge is now uninstalled. You may remove the provided patch to the core module Taxonomy module if applicable.'));
  return $ret;
}