Index: modules/comment/comment.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.install,v
retrieving revision 1.23
diff -u -r1.23 comment.install
--- modules/comment/comment.install	3 Jul 2008 17:57:03 -0000	1.23
+++ modules/comment/comment.install	2 Aug 2008 05:12:39 -0000
@@ -97,6 +97,27 @@
 }
 
 /**
+ * Change comment status from published  being 0 to being 1
+ */
+function comment_update_7001() {
+
+  $comments = db_query("SELECT cid FROM {comments}");
+
+  while ($comment = db_fetch_object($comments)){
+    $comment = comment_load($comment->cid);
+    if ($comment->status == 0){
+      $comment->status = 1;
+    }
+    else{
+      $comment->status = 0;
+    }
+    comment_save($comment);
+  } 
+
+  return array(array('success' => TRUE, 'query' => 'Published comments set to true.'));
+}
+
+/**
  * @} End of "defgroup updates-6.x-to-7.x"
  * The next series of updates should start at 8000.
  */
@@ -161,9 +182,9 @@
         'type' => 'int',
         'unsigned' => TRUE,
         'not null' => TRUE,
-        'default' => 0,
+        'default' => 1,
         'size' => 'tiny',
-        'description' => t('The published status of a comment. (0 = Published, 1 = Not Published)'),
+        'description' => t('The published status of a comment. (0 = Not Published, 1 = Published)'),
       ),
       'format' => array(
         'type' => 'int',
Index: modules/comment/comment.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v
retrieving revision 1.643
diff -u -r1.643 comment.module
--- modules/comment/comment.module	16 Jul 2008 21:59:26 -0000	1.643
+++ modules/comment/comment.module	2 Aug 2008 05:12:41 -0000
@@ -11,14 +11,14 @@
  */
 
 /**
- * Comment is published.
+ * Comment is awaiting approval.
  */
-define('COMMENT_PUBLISHED', 0);
+define('COMMENT_NOT_PUBLISHED', 0);
 
 /**
- * Comment is awaiting approval.
+ * Comment is published.
  */
-define('COMMENT_NOT_PUBLISHED', 1);
+define('COMMENT_PUBLISHED', 1);
 
 /**
  * Comments are displayed in a flat list - collapsed.
