Verified Commit 88864fe0 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3293297 by catch: Remove bc layer in Drupal\Core\Theme\Registry::__construct()

(cherry picked from commit 9957f301)
parent ac26f7ed
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -189,10 +189,6 @@ public function __construct($root, CacheBackendInterface $cache, LockBackendInte
    $this->themeHandler = $theme_handler;
    $this->themeInitialization = $theme_initialization;
    $this->runtimeCache = $runtime_cache;
    if (!$module_list) {
      @trigger_error('Calling Registry::__construct() without the $module_list argument is deprecated in drupal:9.3.0 and is required in drupal:10.0.0. See https://www.drupal.org/node/2940438', E_USER_DEPRECATED);
      $module_list = \Drupal::service('extension.list.module');
    }
    $this->moduleList = $module_list;
    $this->themeName = $theme_name;
  }