summaryrefslogtreecommitdiff
path: root/modules/upload
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-11-15 13:01:11 +0000
committerDries Buytaert <dries@buytaert.net>2008-11-15 13:01:11 +0000
commit15671f471b5097fd20c5951a9c835de9bb05fc5b (patch)
treeb3b22b4f670da5c6880cadb593eae285bf623995 /modules/upload
parent97fdc491917f6f12d734cb13bf2101cfc12096fd (diff)
downloadbrdo-15671f471b5097fd20c5951a9c835de9bb05fc5b.tar.gz
brdo-15671f471b5097fd20c5951a9c835de9bb05fc5b.tar.bz2
- Patch #332123 by webchick, lilou: remove t() function from schema descriptions.
Diffstat (limited to 'modules/upload')
-rw-r--r--modules/upload/upload.install14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/upload/upload.install b/modules/upload/upload.install
index e4407712a..22334d7d6 100644
--- a/modules/upload/upload.install
+++ b/modules/upload/upload.install
@@ -26,35 +26,35 @@ function upload_uninstall() {
*/
function upload_schema() {
$schema['upload'] = array(
- 'description' => t('Stores uploaded file information and table associations.'),
+ 'description' => 'Stores uploaded file information and table associations.',
'fields' => array(
'fid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
- 'description' => t('Primary Key: The {files}.fid.'),
+ 'description' => 'Primary Key: The {files}.fid.',
),
'nid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
- 'description' => t('The {node}.nid associated with the uploaded file.'),
+ 'description' => 'The {node}.nid associated with the uploaded file.',
),
'vid' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
- 'description' => t('Primary Key: The {node}.vid associated with the uploaded file.'),
+ 'description' => 'Primary Key: The {node}.vid associated with the uploaded file.',
),
'description' => array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
- 'description' => t('Description of the uploaded file.'),
+ 'description' => 'Description of the uploaded file.',
),
'list' => array(
'type' => 'int',
@@ -62,14 +62,14 @@ function upload_schema() {
'not null' => TRUE,
'default' => 0,
'size' => 'tiny',
- 'description' => t('Whether the file should be visibly listed on the node: yes(1) or no(0).'),
+ 'description' => 'Whether the file should be visibly listed on the node: yes(1) or no(0).',
),
'weight' => array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
'size' => 'tiny',
- 'description' => t('Weight of this upload in relation to other uploads in this node.'),
+ 'description' => 'Weight of this upload in relation to other uploads in this node.',
),
),
'primary key' => array('vid', 'fid'),