#21084, Node module is not marked "required", but is required by other required modules, patch by Robert Douglass
parent
29170c88f2
commit
9bb285aafa
|
@ -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'));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue