commit bf5e52793ee8fff70866ebcbaa346eb0380d7393 Author: Erik Stielstra Date: Fri Feb 8 15:15:54 2013 +0100 #30 diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc index 3bf69bb..97c75dd 100644 --- a/core/includes/install.core.inc +++ b/core/includes/install.core.inc @@ -356,9 +356,8 @@ function install_begin_request(&$install_state) { // Register a module handler for managing enabled modules. $container ->register('module_handler', 'Drupal\Core\Extension\ModuleHandler'); - drupal_container($container); - // Register the Guzzle http client for fetching translation file from a + // Register the Guzzle HTTP client for fetching translation files from a // remote translation server such as localization.drupal.org. $container->register('http_default_client', 'Guzzle\Http\Client') ->addArgument(NULL) @@ -367,6 +366,8 @@ function install_begin_request(&$install_state) { 'curl.CURLOPT_MAXREDIRS' => 3, )) ->addMethodCall('setUserAgent', array('Drupal (+http://drupal.org/)')); + + drupal_container($container); } // Set up $language, so t() caller functions will still work.