diff --git a/code/CMSProfileController.php b/code/CMSProfileController.php index 5d745800b..eb34d8e5c 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; public function getEditForm($id = null, $fields = null) diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index bb4b9853e..c1af92a19 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -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; 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';