From 6bca3db38b7baa8e1e1340ca8cb5bda1ff67e2e5 Mon Sep 17 00:00:00 2001 From: webchick Date: Tue, 14 Jun 2011 04:27:14 -0400 Subject: Issue #1115510 by catch, barbi, amateescu: Fixed Entity providing modules must call field_attach_delete_bundle() in hook_uninstall(). --- modules/comment/comment.install | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/comment/comment.install') diff --git a/modules/comment/comment.install b/modules/comment/comment.install index d64b3acde..120467fd0 100644 --- a/modules/comment/comment.install +++ b/modules/comment/comment.install @@ -16,6 +16,7 @@ function comment_uninstall() { variable_del('comment_block_count'); $node_types = array_keys(node_type_get_types()); foreach ($node_types as $node_type) { + field_attach_delete_bundle('comment', 'comment_node_' . $node_type); variable_del('comment_' . $node_type); variable_del('comment_anonymous_' . $node_type); variable_del('comment_controls_' . $node_type); -- cgit v1.2.3