#106830clearCachePostProc hook does not allow to change cache tags
Description
DataHandler hook is basically useless in order to modify the cache tags due to a typo.
$_params = [‘table’ => $table, ‘uid’ => $uid, ‘uid_page’ => $pageUid, ‘TSConfig’ => $TSConfig, ‘tags’ => $tagsToClear, ‘clearCacheEnabled’ => $clearCacheEnabled];
foreach ($GLOBALS[‘TYPO3_CONF_VARS’][‘SC_OPTIONS’][‘t3lib/class.t3lib_tcemain.php’][‘clearCachePostProc’] ?? [] as $_funcRef) {
GeneralUtility::callUserFunction($_funcRef, $_params, $this);
}
The tags cannot be changed, for this reason, consumers always trigger a flushByTagInGroup themselves, making tooo much overhead.