diff options
Diffstat (limited to 'modules/node/node.install')
-rw-r--r-- | modules/node/node.install | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/modules/node/node.install b/modules/node/node.install index 96b6d7531..6b8804179 100644 --- a/modules/node/node.install +++ b/modules/node/node.install @@ -306,21 +306,6 @@ function node_schema() { 'default' => '', 'translatable' => TRUE, ), - 'has_body' => array( - 'description' => 'Boolean indicating whether this type has the body field attached.', - 'type' => 'int', - 'unsigned' => TRUE, - 'not null' => TRUE, - 'size' => 'tiny', - ), - 'body_label' => array( - 'description' => 'The label displayed for the body field on the edit form.', - 'type' => 'varchar', - 'length' => 255, - 'not null' => TRUE, - 'default' => '', - 'translatable' => TRUE, - ), 'custom' => array( 'description' => 'A boolean indicating whether this type is defined by a module (FALSE) or by a user via Add content type (TRUE).', 'type' => 'int', @@ -552,7 +537,7 @@ function node_update_7006(&$sandbox) { foreach ($revisions as $revision) { $found = TRUE; - if ($node_types[$revision->type]->has_body) { + if ($sandbox['node_types_info'][$revision->type]['has_body']) { $node = (object) array( 'nid' => $revision->nid, 'vid' => $revision->vid, |