[TASK] Remove TypoScript option config.typolinkCheckRootline 45/54545/3
authorBenni Mack <benni@typo3.org>
Fri, 3 Nov 2017 14:52:51 +0000 (15:52 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Fri, 3 Nov 2017 16:37:29 +0000 (17:37 +0100)
commitc2d30f5478d1e322f1693baa84bf85c8bab1edb7
tree6f9c7139a36f19ff08be55fc60c58a4ae40290f7
parent0ef7ce1dcaa54c17f7850f57692b63e4bc865a08
[TASK] Remove TypoScript option config.typolinkCheckRootline

The TypoScript option 'config.typolinkCheckRootline' was introduced
back in TYPO3 v4.x when there was no proper rootline cache or sys_domain
cache in place, in order to resolve the proper domain.

This now has changed, and this option can be removed in order to simplify
page link generation.

When in a multi-site setup, this option MUST be active otherwise it will
result in ugly and hard-to-debug side-effects.

For a single-site setup having this option disabled will result in a marginal
performance decrease (one SQL query more) when linking to a page with a
sys_domain record available.

A deprecation notice is thrown if your TypoScript setup still includes this option.

Resolves: #82909
Releases: master
Change-Id: I36abcdd1e2eabe2da66d8edd720a5a27ec306ede
Reviewed-on: https://review.typo3.org/54545
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: TYPO3com <no-reply@typo3.com>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Frans Saris <franssaris@gmail.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/core/Documentation/Changelog/master/Deprecation-82909-TypoScriptOptionConfigtypolinkCheckRootline.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php
typo3/sysext/t3editor/Resources/Private/tsref.xml
typo3/sysext/t3editor/Resources/Public/JavaScript/Mode/typoscript/typoscript.js