function date_all_day_test_feature_uninstall in Date 7.3
Same name and namespace in other branches
- 7.2 date_all_day/tests/date_all_day_test_feature/date_all_day_test_feature.install \date_all_day_test_feature_uninstall()
Implements hook_uninstall().
File
- date_all_day/
tests/ date_all_day_test_feature/ date_all_day_test_feature.install, line 11 - Uninstall functions for the Date All Day Test Feature module.
Code
function date_all_day_test_feature_uninstall() {
// Delete the bundled content types.
node_type_delete('test_datetime');
node_type_delete('test_iso_date');
node_type_delete('test_timestamp');
variable_del('node_preview_test_datetime_feature');
variable_del('node_preview_test_iso_date_feature');
variable_del('node_preview_test_timestamp_feature');
node_types_rebuild();
menu_rebuild();
}