From 4f9d9a86f42b13a1620369a56ffd554389f9ead9 Mon Sep 17 00:00:00 2001 From: Nicole Cordes <typo3@cordes.co> Date: Sat, 16 Nov 2013 21:33:10 +0100 Subject: [PATCH] [BUGFIX] Rename hook in VariableFrontend.php Due to the namespace changes the hook in typo3\sysext\core\Classes\Cache\Frontend\VariableFrontend.php was renamed. This patch changes name back to the one before. Resolves: #53707 Releases: 6.2, 6.1, 6.0 Change-Id: Ibb86188b38aba9ca7e7e2670f843234fae16fa87 Reviewed-on: https://review.typo3.org/25466 Reviewed-by: Alexander Opitz Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters --- typo3/sysext/core/Classes/Cache/Frontend/VariableFrontend.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typo3/sysext/core/Classes/Cache/Frontend/VariableFrontend.php b/typo3/sysext/core/Classes/Cache/Frontend/VariableFrontend.php index 7db554764aee..f9293893d0a6 100644 --- a/typo3/sysext/core/Classes/Cache/Frontend/VariableFrontend.php +++ b/typo3/sysext/core/Classes/Cache/Frontend/VariableFrontend.php @@ -72,8 +72,8 @@ class VariableFrontend extends \TYPO3\CMS\Core\Cache\Frontend\AbstractFrontend { throw new \InvalidArgumentException('"' . $tag . '" is not a valid tag for a cache entry.', 1233058269); } } - if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/cache/frontend/class.t3lib_Cache\Frontend\VariableFrontend.php']['set'])) { - foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/cache/frontend/class.t3lib_Cache\Frontend\VariableFrontend.php']['set'] as $_funcRef) { + if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/cache/frontend/class.t3lib_cache_frontend_variablefrontend.php']['set'])) { + foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/cache/frontend/class.t3lib_cache_frontend_variablefrontend.php']['set'] as $_funcRef) { $params = array( 'entryIdentifier' => &$entryIdentifier, 'variable' => &$variable, -- GitLab