diff --git a/core/modules/image/lib/Drupal/image/Controller/ImageStyleDownloadController.php b/core/modules/image/lib/Drupal/image/Controller/ImageStyleDownloadController.php index bf63181..9cfa479 100644 --- a/core/modules/image/lib/Drupal/image/Controller/ImageStyleDownloadController.php +++ b/core/modules/image/lib/Drupal/image/Controller/ImageStyleDownloadController.php @@ -33,13 +33,6 @@ class ImageStyleDownloadController extends FileDownloadController implements Con protected $configFactory; /** - * The module handler. - * - * @var \Drupal\Core\Extension\ModuleHandlerInterface - */ - protected $moduleHandler; - - /** * The lock backend. * * @var \Drupal\Core\Lock\LockBackendInterface @@ -57,8 +50,8 @@ class ImageStyleDownloadController extends FileDownloadController implements Con * The lock backend. */ public function __construct(ConfigFactory $config_factory, ModuleHandlerInterface $module_handler, LockBackendInterface $lock) { + parent::__construct($module_handler); $this->configFactory = $config_factory; - $this->moduleHandler = $module_handler; $this->lock = $lock; }