From 62a268095be041226842d8ae63f62bcc15130f80 Mon Sep 17 00:00:00 2001 From: Elmar Hinz <t3elmar@gmail.com> Date: Sat, 14 May 2016 11:10:38 +0200 Subject: [PATCH] [TASK] Optimise comment of $sortedConf in the stdWrap function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Explain the creation and name of the variable in concise words. Resolves: #76195 Related: #76194 Releases: master Change-Id: Ifff61c38dbb4ea07f79cb42cfe7f6aca41e5fbe1 Reviewed-on: https://review.typo3.org/48132 Reviewed-by: Olaf Schmidt-Wischhöfer <osw@eadi.org> Tested-by: Olaf Schmidt-Wischhöfer <osw@eadi.org> Reviewed-by: Markus Klein <markus.klein@typo3.org> Tested-by: Markus Klein <markus.klein@typo3.org> --- .../frontend/Classes/ContentObject/ContentObjectRenderer.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php b/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php index 3a87a8c7df2e..0196edbd3c07 100644 --- a/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php +++ b/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php @@ -2003,8 +2003,7 @@ class ContentObjectRenderer $conf['cacheRead'] = 1; $conf['cacheStore'] = 1; } - // Check, which of the available stdWrap functions is needed for the current conf Array - // and keep only those but still in the same order + // The configuration is sorted and filtered by intersection with the defined stdWrapOrder. $sortedConf = array_intersect_key($this->stdWrapOrder, $conf); // Functions types that should not make use of nested stdWrap function calls to avoid conflicts with internal TypoScript used by these functions $stdWrapDisabledFunctionTypes = 'cObject,functionName,stdWrap'; -- GitLab