diff --git a/typo3/sysext/core/Classes/Http/AbstractApplication.php b/typo3/sysext/core/Classes/Http/AbstractApplication.php index d51514feb81cbfafdc7fcc7460c1a2e533473538..d0f99c2451b79e161ba4963f2b19295fbe708912 100644 --- a/typo3/sysext/core/Classes/Http/AbstractApplication.php +++ b/typo3/sysext/core/Classes/Http/AbstractApplication.php @@ -19,7 +19,6 @@ use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Server\RequestHandlerInterface; use TYPO3\CMS\Core\Core\ApplicationInterface; -use TYPO3\CMS\Core\Core\Bootstrap; use TYPO3\CMS\Core\Utility\GeneralUtility; /** @@ -86,7 +85,7 @@ class AbstractApplication implements ApplicationInterface */ protected function handle(ServerRequestInterface $request): ResponseInterface { - $requestHandler = GeneralUtility::makeInstance($this->requestHandler, Bootstrap::getInstance()); + $requestHandler = GeneralUtility::makeInstance($this->requestHandler); $dispatcher = $this->createMiddlewareDispatcher($requestHandler); return $dispatcher->handle($request); diff --git a/typo3/sysext/frontend/Classes/Http/RequestHandler.php b/typo3/sysext/frontend/Classes/Http/RequestHandler.php index 0a64033eed1996ec5c3521bac639229c338d2a49..d2e6567695e923db3429e09d649555838862098e 100644 --- a/typo3/sysext/frontend/Classes/Http/RequestHandler.php +++ b/typo3/sysext/frontend/Classes/Http/RequestHandler.php @@ -19,7 +19,6 @@ use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface; use Psr\Http\Server\RequestHandlerInterface as PsrRequestHandlerInterface; use TYPO3\CMS\Backend\FrontendBackendUserAuthentication; -use TYPO3\CMS\Core\Core\Bootstrap; use TYPO3\CMS\Core\FrontendEditing\FrontendEditingController; use TYPO3\CMS\Core\Http\NullResponse; use TYPO3\CMS\Core\Http\RequestHandlerInterface; @@ -40,28 +39,12 @@ use TYPO3\CMS\Frontend\Page\PageGenerator; */ class RequestHandler implements RequestHandlerInterface, PsrRequestHandlerInterface { - /** - * Instance of the current TYPO3 bootstrap - * @var Bootstrap - */ - protected $bootstrap; - /** * Instance of the timetracker * @var TimeTracker */ protected $timeTracker; - /** - * Constructor handing over the bootstrap and the original request - * - * @param Bootstrap $bootstrap - */ - public function __construct(Bootstrap $bootstrap) - { - $this->bootstrap = $bootstrap; - } - /** * Handles a frontend request *