function casetracker_uninstall in Case Tracker 6
Same name and namespace in other branches
- 5 casetracker.install \casetracker_uninstall()
- 7.2 casetracker.install \casetracker_uninstall()
- 7 casetracker.install \casetracker_uninstall()
Implementation of hook_uninstall().
File
- ./
casetracker.install, line 184
Code
function casetracker_uninstall() {
// Remove tables.
drupal_uninstall_schema('casetracker');
// Delete variables
variable_del('casetracker_default_assign_to');
variable_del('casetracker_default_case_priority');
variable_del('casetracker_default_case_status');
variable_del('casetracker_default_case_type');
variable_del('casetracker_project_node_types');
variable_del('casetracker_case_node_types');
// ...and also delete variables from old versions.
variable_del('casetracker_default_case_state');
variable_del('casetracker_current_case_numbers');
variable_del('casetracker_current_project_number');
}