- #257250 by bangpound, sun, JohnAlbin - Panels integration: formatter not properly set.
- #256178 by douggreen - Text: fix warnings around views argument handler.
- #165314 by sleepcamel - Views integration: fix blank links in summary view.
-- #299698 Userreference: autocompletion query when typed string is '0'
+- #299698 Userreference: fix autocompletion query when typed string is '0'.
+- #292872 Do not delete data for content types defined by disabled modules.
5--1.7
======
drupal_set_message(t('Content fields table %old_name has been renamed to %new_name and field instances have been updated.', array('%old_name' => $old_name, '%new_name' => $new_name)));
}
}
- // reset all content type info
+ // reset all content type info.
content_clear_type_cache();
}
* value supplied by hook_node_type()
*/
function content_type_delete($info) {
+ // Don't delete data for content-type defined by disabled modules.
+ if (!empty($info->disabled)) {
+ return;
+ }
+
$type = content_types($info->type);
foreach ($type['fields'] as $field) {
drupal_set_message(t('The content fields table %name has been deleted.', array('%name' => $table)));
}
- // reset all content type info
+ // Reset all content type info.
content_clear_type_cache();
}