? 336483-add-comment-count-index-rev4.patch ? 648262-typo-module-inc.patch ? changes.patch Index: modules/comment/comment.install =================================================================== RCS file: /cvs/drupal/drupal/modules/comment/comment.install,v retrieving revision 1.53 diff -u -p -r1.53 comment.install --- modules/comment/comment.install 1 Dec 2009 13:35:24 -0000 1.53 +++ modules/comment/comment.install 2 Dec 2009 15:03:04 -0000 @@ -46,6 +46,25 @@ function comment_enable() { } /** + * @defgroup updates-6.x-extra Extra system updates for 6.x + * @{ + */ + +/** + * Add index to to node_comment_statistics on comment_count + */ +function comment_update_6004() { + $ret = array(); + db_add_index($ret, 'node_comment_statistics', 'comment_count', array('comment_count')); + return $ret; +} + +/** + * @} End of "defgroup updates-6.x-extra" + * The next series of updates should start at 7000. + */ + +/** * @defgroup updates-6.x-to-7.x Comment updates from 6.x to 7.x * @{ */ @@ -208,13 +227,6 @@ function comment_update_7010() { } /** - * Add an index to node_comment_statistics on comment_count. - */ -function comment_update_7011() { - db_add_index('node_comment_statistics', 'comment_count', array('comment_count')); -} - -/** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. */