Commit 9bb285aa authored by Gerhard Killesreiter's avatar Gerhard Killesreiter

#21084, Node module is not marked "required", but is required by other...

#21084, Node module is not marked "required", but is required by other required modules, patch by Robert Douglass
parent 29170c88
......@@ -48,7 +48,7 @@ function module_list($refresh = FALSE, $bootstrap = TRUE) {
}
if (!$list) {
$list = array('filter' => 'filter', 'system' => 'system', 'user' => 'user', 'watchdog' => 'watchdog');
$list = array('filter' => 'filter', 'node' => 'node', 'system' => 'system', 'user' => 'user', 'watchdog' => 'watchdog');
if ($bootstrap) {
$result = db_query("SELECT name, filename, throttle, bootstrap FROM {system} WHERE type = 'module' AND status = 1 AND bootstrap = 1 ORDER BY weight ASC, filename ASC");
}
......
......@@ -933,7 +933,7 @@ function system_modules() {
// Handle status checkboxes, including overriding the generated
// checkboxes for required modules.
$form['status'] = array('#type' => 'checkboxes', '#default_value' => $status, '#options' => $options);
$required = array('block', 'filter', 'system', 'user', 'watchdog');
$required = array('block', 'filter', 'node', 'system', 'user', 'watchdog');
foreach ($required as $require) {
$form['status'][$require] = array('#type' => 'hidden', '#value' => 1, '#suffix' => t('required'));
}
......
......@@ -933,7 +933,7 @@ function system_modules() {
// Handle status checkboxes, including overriding the generated
// checkboxes for required modules.
$form['status'] = array('#type' => 'checkboxes', '#default_value' => $status, '#options' => $options);
$required = array('block', 'filter', 'system', 'user', 'watchdog');
$required = array('block', 'filter', 'node', 'system', 'user', 'watchdog');
foreach ($required as $require) {
$form['status'][$require] = array('#type' => 'hidden', '#value' => 1, '#suffix' => t('required'));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment