Skip to content
Snippets Groups Projects
Commit c797c616 authored by Benni Mack's avatar Benni Mack Committed by Christian Kuhn
Browse files

[TASK] Avoid usages to TSFE->sys_page

Since TYPO3 v9, PageRepository dependencies
are in better shape with the introduction
of Context API.

With TYPO3 v12, it is fully encapsulated
and can now be called and instantiated
when needed, instead of using TSFE->sys_page.

This patch migrates the last occurrences
in TYPO3 Core and only sets TSFE->sys_page
as b/w compat layer (deprecation later together
with other properties).

Resolves: #102723
Releases: main
Change-Id: I7a21ba28bfc0a22e4b980cc582c055864ebbaedd
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82276


Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarSascha Nowak <sascha.nowak@netlogix.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 98628dd0
Branches
Tags
Showing
with 65 additions and 106 deletions
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