diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc index 7122531..7375d1d 100644 --- a/core/includes/install.core.inc +++ b/core/includes/install.core.inc @@ -427,7 +427,7 @@ function install_begin_request(&$install_state) { $container ->register('stream_wrapper_manager', 'Drupal\Core\StreamWrapper\StreamWrapperManager') ->addArgument(new Reference('module_handler')) - ->addMethodCall('setContainer', array($container)); + ->addMethodCall('setContainer', array(new Reference('service_container'))); // Register the Guzzle HTTP client for fetching translation files from a // remote translation server such as localization.drupal.org. diff --git a/core/modules/system/system.services.yml b/core/modules/system/system.services.yml index 2708078..05a0bb7 100644 --- a/core/modules/system/system.services.yml +++ b/core/modules/system/system.services.yml @@ -24,7 +24,3 @@ services: class: Drupal\Core\StreamWrapper\PrivateStream tags: - { name: stream_wrapper, scheme: private } - stream_wrapper.temporary: - class: Drupal\Core\StreamWrapper\TemporaryStream - tags: - - { name: stream_wrapper, scheme: temporary }