diff --git a/code/CMSProfileController.php b/code/CMSProfileController.php index ea179c638..d271804d1 100644 --- a/code/CMSProfileController.php +++ b/code/CMSProfileController.php @@ -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; private static $ignore_menuitem = true; diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index d502509fe..76d5558aa 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -98,6 +98,7 @@ class LeftAndMain extends AdminController implements PermissionProvider * * @config * @var string + * @deprecated 5.4.0 Will be renamed to model_class */ private static $tree_class = null; diff --git a/code/SecurityAdmin.php b/code/SecurityAdmin.php index b817ae5c8..c17d42ac8 100755 --- a/code/SecurityAdmin.php +++ b/code/SecurityAdmin.php @@ -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';