summaryrefslogtreecommitdiff
path: root/modules/comment/comment.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-01 13:35:24 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-01 13:35:24 +0000
commit65163fc48efe2f173e5b52034537dbee0ab136ee (patch)
tree06ebe3eaee9c2a818e8e1202bf1b265a51c33d81 /modules/comment/comment.install
parentc908edebeb0fb24c943071f5ac9f1d0631b08c98 (diff)
downloadbrdo-65163fc48efe2f173e5b52034537dbee0ab136ee.tar.gz
brdo-65163fc48efe2f173e5b52034537dbee0ab136ee.tar.bz2
- Patch #336483 by catch: moving the update function to the proper module.
Diffstat (limited to 'modules/comment/comment.install')
-rw-r--r--modules/comment/comment.install7
1 files changed, 7 insertions, 0 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.
*/