Merge pull request #169 from jthomerson/fix_prepopulate_function_name

Use corrected function name from silverstripe-cms project
This commit is contained in:
Sam Minnée 2012-01-23 12:56:13 -08:00
commit 3a5d37ec75

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