Commit 8f1728dc authored by webchick's avatar webchick
Browse files

#229129 part 2 of 1,342 by chx: Hide Core - Required modules from module page...

#229129 part 2 of 1,342 by chx: Hide Core - Required modules from module page entirely, to get around nasty bug that allows them to be disabled.
parent eb6cb315
......@@ -688,7 +688,7 @@ function system_modules($form_state = array()) {
'#type' => 'fieldset',
'#title' => t($package),
'#collapsible' => TRUE,
'#collapsed' => ($package == 'Core - required'),
'#access' => ($package != 'Core - required'),
'#theme' => 'system_modules_fieldset',
'#header' => array(
array('data' => t('Enabled'), 'class' => 'checkbox'),
......
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