BUGFIX: Fixed cache prepopulation on sitetree load. (from r98651)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@99125 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-02-16 04:06:59 +00:00 committed by Sam Minnee
parent a57e18bbb6
commit 61fac5b804

View File

@ -509,7 +509,7 @@ class LeftAndMain extends Controller {
if($p = $this->currentPage()) $obj->markToExpose($p); if($p = $this->currentPage()) $obj->markToExpose($p);
// NOTE: SiteTree/CMSMain coupling :-( // NOTE: SiteTree/CMSMain coupling :-(
SiteTree::prepopuplate_permission_cache('edit', $obj->markedNodeIDs()); SiteTree::prepopuplate_permission_cache('CanEditType', $obj->markedNodeIDs());
// getChildrenAsUL is a flexible and complex way of traversing the tree // getChildrenAsUL is a flexible and complex way of traversing the tree
$titleEval = ' $titleEval = '