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(). --- install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install.php') diff --git a/install.php b/install.php index 3a086bd38..0b9dddd87 100644 --- a/install.php +++ b/install.php @@ -1505,7 +1505,7 @@ function _install_module_batch($module, $module_name, &$context) { // loaded by drupal_bootstrap in subsequent batch requests, and other // modules possibly depending on it can safely perform their installation // steps. - module_enable(array($module)); + module_enable(array($module), FALSE); $context['results'][] = $module; $context['message'] = st('Installed %module module.', array('%module' => $module_name)); } @@ -1711,7 +1711,7 @@ function install_configure_form_submit($form, &$form_state) { // Enable update.module if this option was selected. if ($form_state['values']['update_status_module'][1]) { - drupal_install_modules(array('update')); + module_enable(array('update'), FALSE); // Add the site maintenance account's email address to the list of // addresses to be notified when updates are available, if selected. -- cgit v1.2.3