Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Deprecate API that will be renamed #1844

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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