- Patch #336483 by catch: moving the update function to the proper module.
parent
c908edebeb
commit
65163fc48e
|
@ -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'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue