summaryrefslogtreecommitdiff
path: root/modules/node/node.install
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-05-05 06:55:25 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-05-05 06:55:25 +0000
commita2d6297055e6abdcd1a811b34b7fb463fcb50c0c (patch)
treea4528b2ac03d9b4d2a8087f43a2fd1911b9d1370 /modules/node/node.install
parentadc9bc1845b8400f45dc790c6376531830782917 (diff)
downloadbrdo-a2d6297055e6abdcd1a811b34b7fb463fcb50c0c.tar.gz
brdo-a2d6297055e6abdcd1a811b34b7fb463fcb50c0c.tar.bz2
#771922 by andypost: Remove t() from schema description of picture field.
Diffstat (limited to 'modules/node/node.install')
-rw-r--r--modules/node/node.install17
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,