From cef10893892a1c40f73fd972969c3512b0983cd6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 29 Sep 2009 15:13:57 +0000 Subject: - Patch #570900 by Crell | asimmonds: Changed Destroy remnants of update_sql(). --- modules/forum/forum.install | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'modules/forum/forum.install') 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')); } -- cgit v1.2.3