Skip to content
Snippets Groups Projects
Commit 5907b65f authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Benni Mack
Browse files

[TASK] Use existing site instance in AbstractItemProvider

Since #94662 it's possible to access the site
configuration in `foreign_table_where` clauses.

The corresponding site configuration was therefore
fetched using the SiteFinder, which is however not
needed as the SiteResolving data provider already
does this.

This path therefore replaces the duplicated call to
SiteFinder by accessing the Site instance, already
present in the result array.

Resolves: #95033
Related: #94662
Releases: master
Change-Id: I6ea8f09721ff6a3963c1521b8b1476d7e39ddcaf
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70821


Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 502f46c6
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