diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-09-29 15:13:57 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-09-29 15:13:57 +0000 |
commit | cef10893892a1c40f73fd972969c3512b0983cd6 (patch) | |
tree | c295a5dea1cc8f5d0ced7e7c967c70cf34f33c73 /modules/forum/forum.install | |
parent | 0a0b067c2404b041454cc7a5fc8cfbbb9ecd6027 (diff) | |
download | brdo-cef10893892a1c40f73fd972969c3512b0983cd6.tar.gz brdo-cef10893892a1c40f73fd972969c3512b0983cd6.tar.bz2 |
- Patch #570900 by Crell | asimmonds: Changed Destroy remnants of update_sql().
Diffstat (limited to 'modules/forum/forum.install')
-rw-r--r-- | modules/forum/forum.install | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/forum/forum.install b/modules/forum/forum.install index c42490e2e..df6ccf48d 100644 --- a/modules/forum/forum.install +++ b/modules/forum/forum.install @@ -116,9 +116,6 @@ function forum_schema() { * Add new index to forum table. */ function forum_update_7000() { - $ret = array(); - db_drop_index($ret, 'forum', 'nid'); - db_add_index($ret, 'forum', 'forum_topic', array('nid', 'tid')); - - return $ret; + db_drop_index('forum', 'nid'); + db_add_index('forum', 'forum_topic', array('nid', 'tid')); } |