summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-05-20 19:56:36 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-05-20 19:56:36 +0000
commit9c79816c4fd4c50cb3dda66eada34705501b8524 (patch)
treec51c866a0325e2025db50d1652829086b811b4a7
parentba29dbde381b8fb43f7f5ff6266ea74e119862de (diff)
downloadbrdo-9c79816c4fd4c50cb3dda66eada34705501b8524.tar.gz
brdo-9c79816c4fd4c50cb3dda66eada34705501b8524.tar.bz2
#332123 follow-up by quicksketch: Fix API documentation for hook_schema() to reflect that descriptions should not be t()ed.
-rw-r--r--modules/system/system.api.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index 33c4d8890..c2e6e8926 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -1382,27 +1382,27 @@ function hook_requirements($phase) {
function hook_schema() {
$schema['node'] = array(
// example (partial) specification for table "node"
- 'description' => t('The base table for nodes.'),
+ 'description' => 'The base table for nodes.',
'fields' => array(
'nid' => array(
- 'description' => t('The primary identifier for a node.'),
+ 'description' => 'The primary identifier for a node.',
'type' => 'serial',
'unsigned' => TRUE,
'not null' => TRUE),
'vid' => array(
- 'description' => t('The current {node_revision}.vid version identifier.'),
+ 'description' => 'The current {node_revision}.vid version identifier.',
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0),
'type' => array(
- 'description' => t('The {node_type} of this node.'),
+ 'description' => 'The {node_type} of this node.',
'type' => 'varchar',
'length' => 32,
'not null' => TRUE,
'default' => ''),
'title' => array(
- 'description' => t('The title of this node, always treated a non-markup plain text.'),
+ 'description' => 'The title of this node, always treated a non-markup plain text.',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
@@ -1442,7 +1442,7 @@ function hook_schema_alter(&$schema) {
'type' => 'int',
'not null' => TRUE,
'default' => 0,
- 'description' => t('Per-user timezone configuration.'),
+ 'description' => 'Per-user timezone configuration.',
);
}