Permalink
Browse files

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")
  • Loading branch information...
1 parent 94b37db commit d236bb58eba96a95a30ddf0a1c6358b03e84261b @halkyon halkyon committed Nov 15, 2012
Showing with 0 additions and 8 deletions.
  1. +0 −8 code/model/SiteTree.php
@@ -999,14 +999,6 @@ public function getSiteConfig() {
}
/**
- * @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.
*

0 comments on commit d236bb5

Please sign in to comment.