From 09bb6d404c9361a8386ebd1c0688fdcaa7d41421 Mon Sep 17 00:00:00 2001 From: Jeremy Thomerson Date: Mon, 23 Jan 2012 14:29:55 -0500 Subject: [PATCH] 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. --- admin/code/LeftAndMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/code/LeftAndMain.php b/admin/code/LeftAndMain.php index fcc4fa0b5..14d2b2773 100644 --- a/admin/code/LeftAndMain.php +++ b/admin/code/LeftAndMain.php @@ -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