From a2d6297055e6abdcd1a811b34b7fb463fcb50c0c Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Wed, 5 May 2010 06:55:25 +0000 Subject: #771922 by andypost: Remove t() from schema description of picture field. --- modules/node/node.install | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'modules/node/node.install') 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, -- cgit v1.2.3