summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-13 05:08:29 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-01-13 05:08:29 +0000
commitc33d0f7be84eef3f3cd3a6d4855fc315adb3c554 (patch)
tree27a517956cb20111ff78a14bc725a62464affe0a /modules/system/system.install
parent3a0f6b33720b1a939ec2f828bfefd31b6c51817f (diff)
downloadbrdo-c33d0f7be84eef3f3cd3a6d4855fc315adb3c554.tar.gz
brdo-c33d0f7be84eef3f3cd3a6d4855fc315adb3c554.tar.bz2
#399642 follow-up by carlos8f: Replace drupal_install_modules() with an improved module_enable().
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install6
1 files changed, 2 insertions, 4 deletions
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);
}
/**