diff modules/poll/poll.install @ 19:3edae6ecd6c6 6.9

Drupal 6.9
author Franck Deroche <franck@defr.org>
date Thu, 15 Jan 2009 10:15:56 +0100
parents c1f4ac30525a
children
line wrap: on
line diff
--- a/modules/poll/poll.install	Tue Dec 23 14:32:55 2008 +0100
+++ b/modules/poll/poll.install	Thu Jan 15 10:15:56 2009 +0100
@@ -1,5 +1,5 @@
 <?php
-// $Id: poll.install,v 1.13 2007/12/18 12:59:21 dries Exp $
+// $Id: poll.install,v 1.13.2.1 2009/01/06 15:46:37 goba Exp $
 
 /**
  * Implementation of hook_install().
@@ -22,66 +22,66 @@
  */
 function poll_schema() {
   $schema['poll'] = array(
-    'description' => t('Stores poll-specific information for poll nodes.'),
+    'description' => 'Stores poll-specific information for poll nodes.',
     'fields' => array(
       'nid'     => array(
         'type' => 'int',
         'unsigned' => TRUE,
         'not null' => TRUE,
         'default' => 0,
-        'description' => t("The poll's {node}.nid.")
+        'description' => "The poll's {node}.nid."
         ),
       'runtime' => array(
         'type' => 'int',
         'not null' => TRUE,
         'default' => 0,
-        'description' => t('The number of seconds past {node}.created during which the poll is open.')
+        'description' => 'The number of seconds past {node}.created during which the poll is open.'
         ),
       'active'  => array(
         'type' => 'int',
         'unsigned' => TRUE,
         'not null' => TRUE,
         'default' => 0,
-        'description' => t('Boolean indicating whether or not the poll is open.'),
+        'description' => 'Boolean indicating whether or not the poll is open.',
         ),
       ),
     'primary key' => array('nid'),
     );
 
   $schema['poll_choices'] = array(
-    'description' => t('Stores information about all choices for all {poll}s.'),
+    'description' => 'Stores information about all choices for all {poll}s.',
     'fields' => array(
       'chid'    => array(
         'type' => 'serial',
         'unsigned' => TRUE,
         'not null' => TRUE,
-        'description' => t('Unique identifier for a poll choice.'),
+        'description' => 'Unique identifier for a poll choice.',
         ),
       'nid'     => array(
         'type' => 'int',
         'unsigned' => TRUE,
         'not null' => TRUE,
         'default' => 0,
-        'description' => t('The {node}.nid this choice belongs to.'),
+        'description' => 'The {node}.nid this choice belongs to.',
         ),
       'chtext'  => array(
         'type' => 'varchar',
         'length' => 128,
         'not null' => TRUE,
         'default' => '',
-        'description' => t('The text for this choice.'),
+        'description' => 'The text for this choice.',
         ),
       'chvotes' => array(
         'type' => 'int',
         'not null' => TRUE,
         'default' => 0,
-        'description' => t('The total number of votes this choice has received by all users.'),
+        'description' => 'The total number of votes this choice has received by all users.',
         ),
       'chorder' => array(
         'type' => 'int',
         'not null' => TRUE,
         'default' => 0,
-        'description' => t('The sort order of this choice among all choices for the same node.'),
+        'description' => 'The sort order of this choice among all choices for the same node.',
         )
       ),
     'indexes' => array(
@@ -91,33 +91,33 @@
     );
 
   $schema['poll_votes'] = array(
-    'description' => t('Stores per-{users} votes for each {poll}.'),
+    'description' => 'Stores per-{users} votes for each {poll}.',
     'fields' => array(
       'nid'      => array(
         'type' => 'int',
         'unsigned' => TRUE,
         'not null' => TRUE,
-        'description' => t('The {poll} node this vote is for.'),
+        'description' => 'The {poll} node this vote is for.',
         ),
       'uid'      => array(
         'type' => 'int',
         'unsigned' => TRUE,
         'not null' => TRUE,
         'default' => 0,
-        'description' => t('The {users}.uid this vote is from unless the voter was anonymous.'),
+        'description' => 'The {users}.uid this vote is from unless the voter was anonymous.',
         ),
       'chorder'  => array(
         'type' => 'int',
         'not null' => TRUE,
         'default' => -1,
-        'description' => t("The {users}'s vote for this poll."),
+        'description' => "The {users}'s vote for this poll.",
         ),
       'hostname' => array(
         'type' => 'varchar',
         'length' => 128,
         'not null' => TRUE,
         'default' => '',
-        'description' => t('The IP address this vote is from unless the voter was logged in.'),
+        'description' => 'The IP address this vote is from unless the voter was logged in.',
         ),
       ),
     'primary key' => array('nid', 'uid', 'hostname'),