From d236bb58eba96a95a30ddf0a1c6358b03e84261b Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 15 Nov 2012 14:39:48 +1300 Subject: [PATCH] Removed deprecated SiteTree::prepopuplate_permission_cache() This function is misspelled, and was marked deprecated. This commit removes that function. Please use prepopulate_permission_cache() instead (note the removal of the extraneous "p" in "prepopuplate") --- code/model/SiteTree.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/code/model/SiteTree.php b/code/model/SiteTree.php index e1b771a1..50ab173a 100644 --- a/code/model/SiteTree.php +++ b/code/model/SiteTree.php @@ -998,14 +998,6 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid return SiteConfig::current_site_config(); } - /** - * @deprecated 3.0 Use prepopulate_permission_cache() instead (without the extraneous "p" in "prepopulate") - */ - static public function prepopuplate_permission_cache($permission = 'CanEditType', $ids, $batchCallback = null) { - Deprecation::notice("3.0", "Use prepopulate_permission_cache instead."); - self::prepopulate_permission_cache($permission, $ids, $batchCallback); - } - /** * Pre-populate the cache of canEdit, canView, canDelete, canPublish permissions. * This method will use the static can_(perm)_multiple method for efficiency.