function casetracker_basic_uninstall in Case Tracker 5
Same name and namespace in other branches
- 6 casetracker_basic.install \casetracker_basic_uninstall()
- 7 casetracker_basic.install \casetracker_basic_uninstall()
Implementation of hook_uninstall().
File
- ./
casetracker_basic.install, line 6
Code
function casetracker_basic_uninstall() {
db_query("DELETE FROM {node} WHERE type = 'casetracker_basic_project'");
db_query("DELETE FROM {node} WHERE type = 'casetracker_basic_case'");
db_query("DELETE FROM {node_type} WHERE type = 'casetracker_basic_project'");
db_query("DELETE FROM {node_type} WHERE type = 'casetracker_basic_case'");
}