Project

General

Profile

Bug #22412 » 14052_v2.diff

Administrator Admin, 2010-04-30 11:50

View differences:

typo3/sysext/cms/tslib/hooks/class.tx_cms_treelistcacheupdate.php (Arbeitskopie)
switch ($updatedFieldName) {
case 'pid':
// page moved
$actions['allParents'] = true;
$actions['uidInTreelist'] = true;
break;
case $GLOBALS['TCA']['pages']['ctrl']['enablecolumns']['disabled']:
case $GLOBALS['TCA']['pages']['ctrl']['enablecolumns']['fe_group']:
// page hidden / unhidden
case $GLOBALS['TCA']['pages']['ctrl']['delete']:
case 'extendToSubpages':
case 'php_tree_stop':
// page hidden / unhidden / deleted / extendToSubpages set
// php_tree_stop and/or FE groups set
$actions['uidInTreelist'] = true;
break;
// page deleted / undeleted
case $GLOBALS['TCA']['pages']['ctrl']['enablecolumns']['starttime']:
/*
start time set/unset
......
treelist. When unsetting the start time it must
become listed in the tree list again.
*/
case $GLOBALS['TCA']['pages']['ctrl']['enablecolumns']['fe_group']:
// changes to FE user group
case 'extendToSubpages':
// extendToSubpages set (apply FE access restrictions to subpages)
case 'php_tree_stop':
// php_tree_stop
$actions['allParents'] = true;
$actions['uidInTreelist'] = true;
break;
case $GLOBALS['TCA']['pages']['ctrl']['enablecolumns']['endtime']:
(2-2/2)