From c33d0f7be84eef3f3cd3a6d4855fc315adb3c554 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Wed, 13 Jan 2010 05:08:29 +0000 Subject: #399642 follow-up by carlos8f: Replace drupal_install_modules() with an improved module_enable(). --- modules/system/system.install | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/system/system.install') diff --git a/modules/system/system.install b/modules/system/system.install index c7ef22fd3..b6c02d4e5 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2082,8 +2082,7 @@ function system_update_7018() { */ function system_update_7020() { $module_list = array('field_sql_storage', 'field'); - drupal_install_modules($module_list); - module_enable($module_list); + module_enable($module_list, FALSE); } /** @@ -2305,8 +2304,7 @@ function system_update_7027() { ->condition('type', 'module') ->condition('name', $module_list) ->execute(); - drupal_install_modules($module_list); - module_enable($module_list); + module_enable($module_list, FALSE); } /** -- cgit v1.2.3