[TASK] Avoid $GLOBALS[TYPO3_REQUEST] in TSFE
In order to reduce the amount of accessing globals in the future, and especially TYPO3_REQUEST which was born because of missing structure of TYPO3 Core, the currrent request object is now handed in (optionally) to methods, to work directly with them in TSFE context. Resolves: #91568 Releases: master, 10.4 Change-Id: I760dbd70c9748d69c669bc6f65d65d20dd8ab530 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64662 Tested-by:Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Frank Nägler <frank.naegler@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Frank Nägler <frank.naegler@typo3.org>
Showing
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 45 additions, 36 deletions...ntend/Classes/Controller/TypoScriptFrontendController.php
- typo3/sysext/frontend/Classes/Middleware/PrepareTypoScriptFrontendRendering.php 2 additions, 2 deletions...Classes/Middleware/PrepareTypoScriptFrontendRendering.php
- typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php 2 additions, 2 deletions...d/Classes/Middleware/TypoScriptFrontendInitialization.php
- typo3/sysext/seo/Tests/Functional/Canonical/CanonicalGeneratorTest.php 3 additions, 1 deletion...seo/Tests/Functional/Canonical/CanonicalGeneratorTest.php
Please register or sign in to comment