Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
91263e58
Commit
91263e58
authored
Feb 05, 2012
by
Dries Buytaert
Browse files
- Patch
#1426954
by Gábor Hojtsy: remove locale backward compatibility layer in installer.
parent
36b7afcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/includes/install.core.inc
View file @
91263e58
...
...
@@ -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'
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment