summaryrefslogtreecommitdiff
path: root/modules/comment/comment.install
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-03-27 05:52:50 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-03-27 05:52:50 +0000
commit7d4b84b8789ffd3ad22dc987860f46c18f9d0f07 (patch)
treea5e7429b505f079ea6e0938f4f7773719200c915 /modules/comment/comment.install
parentf86fda29a3e004e7e38a5d039aa0869a5bd6d888 (diff)
downloadbrdo-7d4b84b8789ffd3ad22dc987860f46c18f9d0f07.tar.gz
brdo-7d4b84b8789ffd3ad22dc987860f46c18f9d0f07.tar.bz2
#707724 follow-up by yched: Fix more confusing field/entity api arguments.
Diffstat (limited to 'modules/comment/comment.install')
-rw-r--r--modules/comment/comment.install6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/comment/comment.install b/modules/comment/comment.install
index 7b486b493..ad3ede220 100644
--- a/modules/comment/comment.install
+++ b/modules/comment/comment.install
@@ -55,7 +55,7 @@ function comment_enable() {
$field = array(
'field_name' => 'comment_body',
'type' => 'text_long',
- 'object_types' => array('comment'),
+ 'entity_types' => array('comment'),
);
field_create_field($field);
}
@@ -269,7 +269,7 @@ function comment_update_7012() {
$field = array(
'field_name' => 'comment_body',
'type' => 'text_long',
- 'object_types' => array('comment'),
+ 'entity_types' => array('comment'),
);
field_create_field($field);
@@ -277,7 +277,7 @@ function comment_update_7012() {
$body_instance = array(
'field_name' => 'comment_body',
'label' => 'Comment',
- 'object_type' => 'comment',
+ 'entity_type' => 'comment',
'settings' => array('text_processing' => 1),
// Hide field label by default.
'display' => array(