Feature #32996 ยป feature_clearPageCache.diff
typo3_src.new/t3lib/class.t3lib_tcemain.php 2012-01-05 14:43:17.000000000 +0100 | ||
---|---|---|
}
|
||
}
|
||
} else { // For other tables than "pages", delete cache for the records "parent page".
|
||
$list_cache[] = $pageUid = intval($this->getPID($table, $uid));
|
||
$pid_tmp = intval($this->getPID($table, $uid));
|
||
$list_cache[] = $pageUid = $pid_tmp;
|
||
// Add parrent page
|
||
if ($TSConfig['clearCache_pageGrandParent']) {
|
||
$res_tmp = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
|
||
'pid',
|
||
'pages',
|
||
'uid=' . intval($pid_tmp)
|
||
);
|
||
if ($row_tmp = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res_tmp)) {
|
||
$list_cache[] = $row_tmp['pid'];
|
||
}
|
||
}
|
||
}
|
||
// Call pre-processing function for clearing of cache for page ids:
|