You are here

function taxonomy_defaults_uninstall in Taxonomy Defaults 7

Same name and namespace in other branches
  1. 6.2 taxonomy_defaults.install \taxonomy_defaults_uninstall()
  2. 6 taxonomy_defaults.install \taxonomy_defaults_uninstall()

Implements hook_uninstall().

File

./taxonomy_defaults.install, line 36
Install, update and uninstall functions for the taxonomy_defaults module.

Code

function taxonomy_defaults_uninstall() {

  // TODO Please review the conversion of this statement to the D7 database API syntax.

  /* db_query("DELETE FROM {variable} WHERE name LIKE 'taxdef_%'") */
  db_delete('variable')
    ->condition('name', 'taxdef_%', 'LIKE')
    ->execute();
}