You are here

function casetracker_basic_uninstall in Case Tracker 6

Same name and namespace in other branches
  1. 5 casetracker_basic.install \casetracker_basic_uninstall()
  2. 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'");
}