? poll-module-cleanup-rev2.patch
? poll-module-cleanup.patch
? system-module-cleanup.patch
? taxonomy-module-cleanup.patch
? upload-module-cleanup-rev2.patch
? upload-module-cleanup.patch
? user-module-cleanup.patch
Index: modules/poll/poll.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/poll/poll.install,v
retrieving revision 1.20
diff -u -p -r1.20 poll.install
--- modules/poll/poll.install	26 Feb 2009 07:30:27 -0000	1.20
+++ modules/poll/poll.install	21 Apr 2009 21:24:41 -0000
@@ -2,6 +2,12 @@
 // $Id: poll.install,v 1.20 2009/02/26 07:30:27 webchick Exp $
 
 /**
+ * @file
+ * Install file for poll module.
+ */
+
+
+/**
  * Implementation of hook_install().
  */
 function poll_install() {
Index: modules/poll/poll.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/poll/poll.module,v
retrieving revision 1.291
diff -u -p -r1.291 poll.module
--- modules/poll/poll.module	20 Apr 2009 03:41:36 -0000	1.291
+++ modules/poll/poll.module	21 Apr 2009 21:24:43 -0000
@@ -249,7 +249,7 @@ function poll_form(&$node, $form_state) 
     $delta = count($node->choice);
     $weight = -$delta;
     foreach ($node->choice as $chid => $choice) {
-      $key = 'chid:'. $chid;
+      $key = 'chid:' . $chid;
       $form['choice_wrapper']['choice'][$key] = _poll_choice_form($key, $choice['chid'], $choice['chtext'], $choice['chvotes'], $choice['weight'], $choice_count);
       $weight = ($choice['weight'] > $weight) ? $choice['weight'] : $weight;
     }
@@ -258,7 +258,7 @@ function poll_form(&$node, $form_state) 
   // Add initial or additional choices.
   $existing_delta = $delta;
   for ($delta; $delta < $choice_count; $delta++) {
-    $key = 'new:'. ($delta - $existing_delta);
+    $key = 'new:' . ($delta - $existing_delta);
     $form['choice_wrapper']['choice'][$key] = _poll_choice_form($key, NULL, '', 0, $weight, $choice_count);
   }
 
@@ -537,7 +537,7 @@ function poll_delete($node) {
     ->execute();
   db_delete('poll_vote')
     ->condition('nid', $node->nid)
-    ->execute();  
+    ->execute();
 }
 
 /**
@@ -751,7 +751,7 @@ function theme_poll_choices($form) {
     );
 
     // Add any additional classes set on the row.
-    $row['class'] .= isset($form[$key]['#attributes']['class']) ? ' '. $form[$key]['#attributes']['class'] : '';
+    $row['class'] .= isset($form[$key]['#attributes']['class']) ? ' ' . $form[$key]['#attributes']['class'] : '';
 
     $rows[] = $row;
   }
Index: modules/poll/poll.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/poll/poll.test,v
retrieving revision 1.16
diff -u -p -r1.16 poll.test
--- modules/poll/poll.test	31 Mar 2009 01:49:53 -0000	1.16
+++ modules/poll/poll.test	21 Apr 2009 21:24:43 -0000
@@ -1,6 +1,11 @@
 <?php
 // $Id: poll.test,v 1.16 2009/03/31 01:49:53 webchick Exp $
 
+/**
+ * @file
+ * Tests for the poll module.
+ */
+
 class PollTestCase extends DrupalWebTestCase {
 
   /**
@@ -25,7 +30,7 @@ class PollTestCase extends DrupalWebTest
 
     if (count($choices) > 2) {
       // Re-submit the form while the choices are all in
-      while($index < count($choices)) {
+      while ($index < count($choices)) {
         $this->drupalPost(NULL, $edit, t('More choices'));
         list($edit, $index) = $this->_pollGenerateEdit($title, $choices, $index);
       }
@@ -33,7 +38,7 @@ class PollTestCase extends DrupalWebTest
 
     if ($test_preview) {
       $this->drupalPost(NULL, $edit, t('Preview'));
-      foreach($choices as $k => $choice_text) {
+      foreach ($choices as $k => $choice_text) {
         $this->assertRaw($choice_text, t('Choice @choice found was in preview.', array('@choice' => $k)));
       }
       list($edit, $index) = $this->_pollGenerateEdit($title, $choices, $index);
@@ -55,10 +60,10 @@ class PollTestCase extends DrupalWebTest
     $edit = array(
       'title' => $title
     );
-    foreach($already_submitted_choices as $k => $text) {
+    foreach ($already_submitted_choices as $k => $text) {
       $edit['choice[chid:' . $k . '][chtext]'] = $text;
     }
-    foreach($new_choices as $k => $text) {
+    foreach ($new_choices as $k => $text) {
       $edit['choice[new:' . $k . '][chtext]'] = $text;
     }
     return array($edit, count($already_submitted_choices) + count($new_choices));
@@ -66,7 +71,7 @@ class PollTestCase extends DrupalWebTest
 
   function _generateChoices($count = 7) {
     $choices = array();
-    for($i = 1; $i <= $count; $i++) {
+    for ($i = 1; $i <= $count; $i++) {
       $choices[] = $this->randomName();
     }
     return $choices;
@@ -112,10 +117,10 @@ class PollVoteTestCase extends PollTestC
     $this->drupalLogin($web_user);
 
     // Record a vote for the first choice.
-    $edit = array (
+    $edit = array(
       'choice' => '1',
     );
-    $this->drupalPost('node/'. $poll_nid, $edit, t('Vote'));
+    $this->drupalPost('node/' . $poll_nid, $edit, t('Vote'));
     $this->assertText('Your vote was recorded.', 'Your vote was recorded.');
 
     $this->drupalGet("node/$poll_nid/votes");
