You are here

function casetracker_uninstall in Case Tracker 5

Same name and namespace in other branches
  1. 6 casetracker.install \casetracker_uninstall()
  2. 7.2 casetracker.install \casetracker_uninstall()
  3. 7 casetracker.install \casetracker_uninstall()

Implementation of hook_uninstall().

File

./casetracker.install, line 581

Code

function casetracker_uninstall() {
  db_query('DROP TABLE {casetracker_case}');
  db_query('DROP TABLE {casetracker_case_states}');
  db_query('DROP TABLE {casetracker_comment_status}');
  db_query('DROP TABLE {casetracker_project}');
  variable_del('casetracker_default_assign_to');
  variable_del('casetracker_default_case_priority');
  variable_del('casetracker_default_case_state');
  variable_del('casetracker_default_case_type');
  variable_del('casetracker_project_node_types');
  variable_del('casetracker_case_node_types');
  variable_del('casetracker_current_case_numbers');
  variable_del('casetracker_current_project_number');
}