You are here

function taxonomy_menu_disable in Taxonomy menu 6.3

Implementation of hook_disable().

File

./taxonomy_menu.install, line 28
Install and uninstall all required databases. Also do incremental database updates.

Code

function taxonomy_menu_disable() {

  //remove menu items
  db_query("DELETE FROM {menu_links} WHERE module = '%s'", 'taxonomy_menu');
  db_query('DELETE FROM {taxonomy_menu}');

  //rebuild the menus
  variable_set('menu_rebuild_needed', TRUE);
}