mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
8ba585be27
commit
09bb6d404c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user