summaryrefslogtreecommitdiff
path: root/includes/install.core.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-01 07:39:12 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-01 07:39:12 +0000
commit1c26e2cee1dfde11eb505db66ec2b97baa7244d9 (patch)
tree8b6371f500ec89099e871200cfafe8c70cda1e83 /includes/install.core.inc
parent1cfde5913d09de7ffaa52f98ef3c303cb363e524 (diff)
downloadbrdo-1c26e2cee1dfde11eb505db66ec2b97baa7244d9.tar.gz
brdo-1c26e2cee1dfde11eb505db66ec2b97baa7244d9.tar.bz2
- Patch #728820 by David_Rothstein: clean up installation of required modules.
Diffstat (limited to 'includes/install.core.inc')
-rw-r--r--includes/install.core.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/includes/install.core.inc b/includes/install.core.inc
index 7c4bc1057..f67d790ca 100644
--- a/includes/install.core.inc
+++ b/includes/install.core.inc
@@ -741,9 +741,13 @@ function install_verify_requirements(&$install_state) {
function install_system_module(&$install_state) {
// Install system.module.
drupal_install_system();
+
+ // Enable the user module so that sessions can be recorded during the
+ // upcoming bootstrap step.
+ module_enable(array('user'), FALSE);
+
// Save the list of other modules to install for the upcoming tasks.
- // variable_set() can be used now that system.module is installed and
- // Drupal is bootstrapped.
+ // variable_set() can be used now that system.module is installed.
$modules = $install_state['profile_info']['dependencies'];
// The install profile is also a module, which needs to be installed