diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-13 05:08:29 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-13 05:08:29 +0000 |
commit | c33d0f7be84eef3f3cd3a6d4855fc315adb3c554 (patch) | |
tree | 27a517956cb20111ff78a14bc725a62464affe0a /install.php | |
parent | 3a0f6b33720b1a939ec2f828bfefd31b6c51817f (diff) | |
download | brdo-c33d0f7be84eef3f3cd3a6d4855fc315adb3c554.tar.gz brdo-c33d0f7be84eef3f3cd3a6d4855fc315adb3c554.tar.bz2 |
#399642 follow-up by carlos8f: Replace drupal_install_modules() with an improved module_enable().
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 4 |
1 files changed, 2 insertions, 2 deletions
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. |