Project

General

Profile

Bug #20235 ยป 10776.diff

Administrator Admin, 2009-03-26 23:21

View differences:

typo3/sysext/cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php (working copy)
* @param integer parent page id of the changed page, the page to start clearing from
*/
protected function clearCacheForAllParents($affectedParentPage) {
$rootline = t3lib_BEfunc::BEgetRootLine($affectedParentPage);
$rootlineIds = array();
......
}
}
$rootlineIdsImploded = implode(',', $rootlineIds);
if (!empty($rootlineIds)) {
$rootlineIdsImploded = implode(',', $rootlineIds);
$GLOBALS['TYPO3_DB']->exec_DELETEquery(
'cache_treelist',
'pid IN(' . $rootlineIdsImploded . ')'
);
$GLOBALS['TYPO3_DB']->exec_DELETEquery(
'cache_treelist',
'pid IN(' . $rootlineIdsImploded . ')'
);
}
}
/**
    (1-1/1)