function track_field_changes_uninstall in Track Field Changes 7
Same name and namespace in other branches
- 8 track_field_changes.install \track_field_changes_uninstall()
Implements hook_uninstall().
File
- ./
track_field_changes.install, line 11 - The Track Field Changes install.
Code
function track_field_changes_uninstall() {
// Clear variables.
variable_del('track_field_changes_node_types');
foreach (node_type_get_types() as $type => $content_type) {
variable_del("track_field_changes_enable_log_{$type}");
variable_del("track_field_changes_basic_new_{$type}");
variable_del("track_field_changes_basic_revision_{$type}");
variable_del("track_field_changes_track_revision_fields_{$type}");
}
}