function casetracker_basic_uninstall in Case Tracker 7
Same name and namespace in other branches
- 5 casetracker_basic.install \casetracker_basic_uninstall()
- 6 casetracker_basic.install \casetracker_basic_uninstall()
Implements hook_uninstall().
File
- ./
casetracker_basic.install, line 22 - Install, update and uninstall functions for the casetracker module.
Code
function casetracker_basic_uninstall() {
db_delete('node')
->condition('type', 'casetracker_basic_project')
->execute();
db_delete('node')
->condition('type', 'casetracker_basic_case')
->execute();
db_delete('node_type')
->condition('type', 'casetracker_basic_project')
->execute();
db_delete('node_type')
->condition('type', 'casetracker_basic_case')
->execute();
}