1432
1432
function system_module_build_dependencies($modules, $form_values) {
1437
1437
foreach ($modules as $name => $module) {
1438
1438
// If the module is disabled, will be switched on and it has dependencies.
1440
1440
foreach ($module->info['dependencies'] as $dependency) {
1441
1441
if (!$form_values['status'][$dependency] && isset($modules[$dependency])) {
1442
1442
if (!isset($dependencies[$name])) {