function nodehierarchy_uninstall in Node Hierarchy 5
Same name and namespace in other branches
- 6.3 nodehierarchy.install \nodehierarchy_uninstall()
- 6 nodehierarchy.install \nodehierarchy_uninstall()
- 6.2 nodehierarchy.install \nodehierarchy_uninstall()
- 7.4 nodehierarchy.install \nodehierarchy_uninstall()
- 7.2 nodehierarchy.install \nodehierarchy_uninstall()
File
- ./
nodehierarchy.install, line 17
Code
function nodehierarchy_uninstall() {
db_query("DROP TABLE {nodehierarchy}");
foreach (node_get_types() as $key => $type) {
variable_del('nh_child_' . $key);
variable_del('nh_parent_' . $key);
variable_del('nh_defaultparent_' . $key);
}
}