diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-12-01 13:35:24 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-12-01 13:35:24 +0000 |
commit | 65163fc48efe2f173e5b52034537dbee0ab136ee (patch) | |
tree | 06ebe3eaee9c2a818e8e1202bf1b265a51c33d81 | |
parent | c908edebeb0fb24c943071f5ac9f1d0631b08c98 (diff) | |
download | brdo-65163fc48efe2f173e5b52034537dbee0ab136ee.tar.gz brdo-65163fc48efe2f173e5b52034537dbee0ab136ee.tar.bz2 |
- Patch #336483 by catch: moving the update function to the proper module.
-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')); } /** |