Commit 35ad5989 authored by Christian Kuhn's avatar Christian Kuhn Committed by Oliver Bartsch
Browse files

[!!!][TASK] Remove two deprecated ReferenceIndex methods

Resolves: #96207
Related: #93038
Releases: main
Change-Id: I8dcaf6ccae3f88ee459ebf65147018ce89e4f8fc
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72466

Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
parent 36600adf
......@@ -1309,28 +1309,6 @@ class ReferenceIndex implements LoggerAwareInterface
return true;
}
/**
* Enables the runtime-based caches
* Could lead to side effects, depending if the reference index instance is run multiple times
* while records would be changed.
*
* @deprecated since v11, will be removed in v12.
*/
public function enableRuntimeCache()
{
trigger_error('Calling ReferenceIndex->enableRuntimeCache() is obsolete and should be dropped.', E_USER_DEPRECATED);
}
/**
* Disables the runtime-based cache
*
* @deprecated since v11, will be removed in v12.
*/
public function disableRuntimeCache()
{
trigger_error('Calling ReferenceIndex->disableRuntimeCache() is obsolete and should be dropped.', E_USER_DEPRECATED);
}
/**
* Returns the current BE user.
*
......
......@@ -63,6 +63,8 @@ The following PHP class methods that have previously been marked as deprecated f
- :php:`\TYPO3\CMS\Backend\Domain\Module\BackendModule->getOnClick()`
- :php:`\TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools->getArrayValueByPath()`
- :php:`\TYPO3\CMS\Core\Configuration\FlexForm\FlexFormTools->setArrayValueByPath()`
- :php:`\TYPO3\CMS\Core\Database\ReferenceIndex->disableRuntimeCache()`
- :php:`\TYPO3\CMS\Core\Database\ReferenceIndex->enableRuntimeCache()`
- :php:`\TYPO3\CMS\Core\Domain\Repository\PageRepository->fixVersioningPid()`
- :php:`\TYPO3\CMS\Core\Resource\Event\GeneratePublicUrlForResourceEvent->isRelativeToCurrentScript()`
- :php:`\TYPO3\CMS\Core\Tree\TableConfiguration\DatabaseTreeDataProvider->getRootUid()`
......
......@@ -4597,6 +4597,7 @@ return [
'maximumNumberOfArguments' => 0,
'restFiles' => [
'Deprecation-93038-ReferenceIndexRuntimeCache.rst',
'Breaking-96107-DeprecatedFunctionalityRemoved.rst',
],
],
'TYPO3\CMS\Core\Database\ReferenceIndex->disableRuntimeCache' => [
......@@ -4604,6 +4605,7 @@ return [
'maximumNumberOfArguments' => 0,
'restFiles' => [
'Deprecation-93038-ReferenceIndexRuntimeCache.rst',
'Breaking-96107-DeprecatedFunctionalityRemoved.rst',
],
],
'TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder->setAddQueryStringMethod' => [
......
Markdown is supported
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