- Patch #1426954 by Gábor Hojtsy: remove locale backward compatibility layer in insta...
authorDries
Sun, 5 Feb 2012 13:23:53 +0000 (08:23 -0500)
committerDries
Sun, 5 Feb 2012 13:23:53 +0000 (08:23 -0500)
core/includes/install.core.inc

index b0df859..c21cd68 100644 (file)
@@ -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']);