1 comment.module comment_node_type_delete($info)

Implements hook_node_type_delete().

File

core/modules/comment/comment.module, line 352
Enables users to comment on published content.

Code

function comment_node_type_delete($info) {
  field_attach_delete_bundle('comment', 'comment_node_' . $info->type);
}