Implements hook_node_type_update().
function comment_node_type_update($info) {
if (!empty($info->old_type) && $info->type != $info->old_type) {
entity_invoke_bundle_hook('rename', 'comment', 'comment_node_' . $info->old_type, 'comment_node_' . $info->type);
}
}