Commit 65163fc4 authored by Dries's avatar Dries
Browse files

- Patch #336483 by catch: moving the update function to the proper module.

parent c908edeb
......@@ -207,6 +207,13 @@ function comment_update_7010() {
db_add_index('node_comment_statistics', 'cid', array('cid'));
}
/**
* 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.
......
......@@ -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'));
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment