Skip to content
Snippets Groups Projects
Commit 91263e58 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #1426954 by Gábor Hojtsy: remove locale backward compatibility layer in installer.

parent 36b7afcc
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -213,11 +213,6 @@ function install_begin_request(&$install_state) {
// Add any installation parameters passed in via the URL.
$install_state['parameters'] += $_GET;
// @todo: remove this testbot compatibility layer once the testbot is fixed.
if (isset($_GET['locale'])) {
$install_state['parameters']['langcode'] = $_GET['locale'];
}
// Validate certain core settings that are used throughout the installation.
if (!empty($install_state['parameters']['profile'])) {
$install_state['parameters']['profile'] = preg_replace('/[^a-zA-Z_0-9]/', '', $install_state['parameters']['profile']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment