Skip to content
Snippets Groups Projects
Commit 8d8d7cbb authored by Benni Mack's avatar Benni Mack Committed by Daniel Goerz
Browse files

[TASK] Use TSFE for fetching site and language

There are various places where TSFE is instantiated, and holding
the proper information about a site and the current language.

Using the properties from there avoid using $GLOBALS[TYPO3_REQUEST]
in "safe" places.

Resolves: #89745
Releases: master
Change-Id: Id2bb16ce376172bdf563fed0c7ddd0bf84415506
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62379


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarSusanne Moog <look@susi.dev>
Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarSusanne Moog <look@susi.dev>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
parent a807c248
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment