function nodeorder_uninstall in Node Order 7
Same name and namespace in other branches
- 8 nodeorder.install \nodeorder_uninstall()
- 6 nodeorder.install \nodeorder_uninstall()
Implements hook_uninstall().
Drops field 'weight' from core table 'taxonomy_index'.
File
- ./
nodeorder.install, line 39 - Nodeorder install file.
Code
function nodeorder_uninstall() {
db_drop_index('taxonomy_index', 'weight');
db_drop_field('taxonomy_index', 'weight');
// Remove variables.
variable_del('nodeorder_show_links_on_node');
variable_del('nodeorder_link_to_ordering_page');
variable_del('nodeorder_link_to_ordering_page_taxonomy_admin');
variable_del('nodeorder_override_taxonomy_page');
}