Skip to content

Commit

Permalink
API Deprecate API that will be renamed (#1844)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Oct 31, 2024
1 parent 5a3ebcc commit 9935822
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/CMSProfileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ class CMSProfileController extends LeftAndMain

private static $required_permission_codes = 'CMS_ACCESS';

/**
* @deprecated 5.4.0 Will be renamed to model_class
*/
private static $tree_class = Member::class;

public function getEditForm($id = null, $fields = null)
Expand Down
1 change: 1 addition & 0 deletions code/LeftAndMain.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ class LeftAndMain extends Controller implements PermissionProvider
*
* @config
* @var string
* @deprecated 5.4.0 Will be renamed to model_class
*/
private static $tree_class = null;

Expand Down
3 changes: 3 additions & 0 deletions code/SecurityAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ class SecurityAdmin extends ModelAdmin implements PermissionProvider

private static $menu_priority = 0;

/**
* @deprecated 5.4.0 Will be renamed to model_class
*/
private static $tree_class = Group::class;

private static $required_permission_codes = 'CMS_ACCESS_SecurityAdmin';
Expand Down

0 comments on commit 9935822

Please sign in to comment.