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

merge-requests/26/head
Dries Buytaert 2009-12-01 13:35:24 +00:00
parent c908edebeb
commit 65163fc48e
2 changed files with 8 additions and 2 deletions

View File

@ -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.

View File

@ -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'));
}
/**