* Fixed bug #11395: TCAdefaults in Page TSConfig without effect on creating new element after existing one (thanks to Tolleiv Nietsch)
* Fixed bug #12800: Add functionality to work with caching framework and DBAL (thanks to Xavier Perseguers)
* Fixed bug #12781: The type in t3lib_TCEforms does not work if the type field shall be excluded when translating (thanks to Fabrizio Branca)
+ * Fixed bug #12835: Caching error when clearing indexed search elements in info module (thanks to Steffen Kamper)
* Raised DBAL version from 1.0.1 to 1.0.2
* Raised Extbase and Fluid versions from 1.0.1 to 1.0.2
if ($GLOBALS['TYPO3_DB']->sql_num_rows($res)) {
$idList = array();
while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
- $idList[] = $row['page_id'];
+ $idList[] = (int)$row['page_id'];
}
- $pageCache = $GLOBALS['typo3CacheManager']->getCache('cache_pages');
-
- foreach ($idList as $pageId) {
- $pageCache->flushByTag('pageId_' . (int) $pageId);
+ if (TYPO3_UseCachingFramework) {
+ $pageCache = $GLOBALS['typo3CacheManager']->getCache('cache_pages');
+ foreach ($idList as $pageId) {
+ $pageCache->flushByTag('pageId_' . $pageId);
+ }
+ } else {
+ $GLOBALS['TYPO3_DB']->exec_DELETEquery('cache_pages', 'page_id IN (' . implode(',', $idList) . ')');
}
}
}