function taxonomy_revision_uninstall in Taxonomy revision 7
Implements hook_uninstall().
File
- ./taxonomy_revision.install, line 197 
- Install, update and uninstall functions for the taxonomy revision module.
Code
function taxonomy_revision_uninstall() {
  // Delete the unique key from the 'taxonomy_term_data' table.
  db_drop_unique_key('taxonomy_term_data', 'revision_id');
  // Delete the {revision_id} column from the {taxonomy_term_data} table.
  db_drop_field('taxonomy_term_data', 'revision_id');
  foreach (taxonomy_get_vocabularies() as $vocabulary) {
    variable_del("taxonomy_revision_by_default[{$vocabulary->machine_name}]");
  }
}