Project

General

Profile

Bug #43591 » DataHandlerClearCache.diff

Devid Messner, 2012-12-13 15:41

View differences:

typo3/sysext/core/Classes/DataHandling/DataHandler.php 2012-12-13 15:30:51.000000000 +0100
// Set History data:
$this->setHistory($table, $id, $theLogId);
// Clear cache for relevant pages:
$this->clear_cache($table, $id);
if($newRow['pid'] == -1)
{
$this->clear_cache($table, $id);
}
// Unset the pageCache for the id if table was page.
if ($table == 'pages') {
unset($this->pageCache[$id]);
(1-1/2)