Use corrected function name from silverstripe-cms project

The CMS project had a function named "SiteTree::prepopuplate_permission_cache" which
should be "SiteTree::prepopulate_permission_cache".  Since another commit corrected
the function name in that project, this project needs to use the new name.
This commit is contained in:
Jeremy Thomerson 2012-01-23 14:29:55 -05:00
parent 8ba585be27
commit 09bb6d404c
1 changed files with 1 additions and 1 deletions

View File

@ -540,7 +540,7 @@ class LeftAndMain extends Controller {
// NOTE: SiteTree/CMSMain coupling :-(
if(class_exists('SiteTree')) {
SiteTree::prepopuplate_permission_cache('CanEditType', $obj->markedNodeIDs(), 'SiteTree::can_edit_multiple');
SiteTree::prepopulate_permission_cache('CanEditType', $obj->markedNodeIDs(), 'SiteTree::can_edit_multiple');
}
// getChildrenAsUL is a flexible and complex way of traversing the tree