summaryrefslogtreecommitdiff
path: root/modules/comment/comment.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-06-16 20:50:26 +0000
committerDries Buytaert <dries@buytaert.net>2009-06-16 20:50:26 +0000
commitcb3a27595b62d447c71c79ff3724cff2821c5667 (patch)
tree26f3408c86f8ee308c6c7472e97ebb0c4ba9239e /modules/comment/comment.install
parent40271ec2ee27f162ed8c1076a932f000f5451ba8 (diff)
downloadbrdo-cb3a27595b62d447c71c79ff3724cff2821c5667.tar.gz
brdo-cb3a27595b62d447c71c79ff3724cff2821c5667.tar.bz2
- Patch #243093 by catch, wedge: fixed small typo.
Diffstat (limited to 'modules/comment/comment.install')
-rw-r--r--modules/comment/comment.install2
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;