Feature #17024 » typo3-restrictTree.diff
typo3/class.webpagetree.php 2009-11-12 16:12:28.000000000 +0100 | ||
---|---|---|
* @return void
|
||
*/
|
||
function webPageTree() {
|
||
$this->init();
|
||
//$this->init();
|
||
if ($GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.restrictTree')) {
|
||
$restriction = $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.restrictTree');
|
||
$this->init(' AND '.$GLOBALS['BE_USER']->getPagePermsClause($restriction));
|
||
} else {
|
||
$this->init();
|
||
}
|
||
}
|
||
/**
|