diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/comment/comment.install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.install b/modules/comment/comment.install index d98ba0ce8..cfbca311d 100644 --- a/modules/comment/comment.install +++ b/modules/comment/comment.install @@ -159,7 +159,7 @@ function comment_update_7002() { function comment_update_7003() { $ret = array(); db_drop_index($ret, 'comment', 'status'); - db_drop_index($rest, 'comment', 'pid'); + db_drop_index($ret, 'comment', 'pid'); db_add_index($ret, 'comment', 'comment_pid_status', array('pid', 'status')); db_add_index($ret, 'comment', 'comment_num_new', array('nid', 'timestamp', 'status')); return $ret; |