Commit 94a56bc3 authored by Benni Mack's avatar Benni Mack Committed by Christian Kuhn
Browse files

[DOC] Change fallback layer code removal information

In order to help support upgrade paths,
some key information is kept until TYPO3 v12 (= not yet removed),
so this documented properly now.

Resolves: #94412
Releases: master, 10.4
Change-Id: I5ce94d24dfd57008374272e48ee9132974f6a562
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69572


Tested-by: default avatarRiny van Tiggelen <info@online-gamer.nl>
Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarRiny van Tiggelen <info@online-gamer.nl>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 40f4bc2b
......@@ -102,7 +102,7 @@ class CacheManager implements SingletonInterface
if (!is_array($configuration)) {
throw new \InvalidArgumentException('The cache configuration for cache "' . $identifier . '" was not an array as expected.', 1231259656);
}
// Fallback layer, will be removed in TYPO3 v11.0.
// Fallback layer, will be removed in TYPO3 v12.0.
if (strpos($identifier, 'cache_') === 0) {
$identifier = substr($identifier, 6);
if (empty($identifier)) {
......@@ -145,7 +145,7 @@ class CacheManager implements SingletonInterface
*/
public function getCache($identifier)
{
// Fallback layer, will be removed in TYPO3 v11.0.
// Fallback layer, will be removed in TYPO3 v12.0.
if (strpos($identifier, 'cache_') === 0) {
trigger_error('Accessing a cache with the "cache_" prefix as in "' . $identifier . '" is not necessary anymore, and should be called without the cache prefix.', E_USER_DEPRECATED);
$identifier = substr($identifier, 6);
......@@ -167,7 +167,7 @@ class CacheManager implements SingletonInterface
*/
public function hasCache($identifier)
{
// Fallback layer, will be removed in TYPO3 v11.0.
// Fallback layer, will be removed in TYPO3 v12.0.
if (strpos($identifier, 'cache_') === 0) {
trigger_error('Accessing a cache with the "cache_" prefix as in "' . $identifier . '" is not necessary anymore, and should be called without the cache prefix.', E_USER_DEPRECATED);
$identifier = substr($identifier, 6);
......
......@@ -23,7 +23,7 @@ class Typo3Version
protected const BRANCH = '11.3';
/**
* Define constants used up until TYPO3 v10, this constructor can be removed in TYPO3 v11.
* Define constants used up until TYPO3 v10, this constructor can be removed in TYPO3 v12.
*/
public function __construct()
{
......
Supports Markdown
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