diff options
-rw-r--r-- | modules/comment/comment.install | 7 | ||||
-rw-r--r-- | modules/system/system.install | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/modules/comment/comment.install b/modules/comment/comment.install index f6db6408e..7098d0425 100644 --- a/modules/comment/comment.install +++ b/modules/comment/comment.install @@ -208,6 +208,13 @@ 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. */ diff --git a/modules/system/system.install b/modules/system/system.install index 0bbad5e78..ccaf437c4 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2491,10 +2491,9 @@ function system_update_7029() { } /** - * Add an index to node_comment_statistics on comment_count. + * Moved to comment_update_7011(). */ function system_update_7030() { - db_add_index('node_comment_statistics', 'comment_count', array('comment_count')); } /** |