Commit 0612ab4a authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

Issue #3224551 by ifrik, Gábor Hojtsy, jonathan_hunt, bdhoundus, alisonjo315,...

Issue #3224551 by ifrik, Gábor Hojtsy, jonathan_hunt, bdhoundus, alisonjo315, quimic, Venkatesh Rajan.J: Warning about $config_directories deprecation will never get resolved, roll it back
parent f9528e76
......@@ -984,33 +984,6 @@ MARKUP
]
];
// Check deprecated $config_directories.
$class = 'no-known-error';
$requirement = $this->t('Use of $config_directories in settings.php is deprecated.');
$label = $this->t('Not used');
if (!empty($GLOBALS['config_directories'])) {
$status = FALSE;
$class = 'known-error';
$label = $this->t('Deprecated configuration used');
$requirement .= ' ' . $this->t('<a href=":settings">Use $settings[\'config_sync_directory\'] instead.</a>', [':settings' => 'https://www.drupal.org/node/3018145']);
}
$build['data']['#rows'][] = [
'class' => $class,
'data' => [
'requirement' => [
'class' => 'requirement-label',
'data' => [
'#type' => 'markup',
'#markup' => $requirement
],
],
'status' => [
'data' => $label,
'class' => 'status-info',
],
]
];
// Save the overall status indicator in the build array. It will be
// popped off later to be used in the summary table.
$build['status'] = $status;
......
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