From 8b427f4e74474fb30dc660bac6eda7ecff062b12 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 17 Jan 2024 11:59:03 +1300 Subject: [PATCH] API Deprecate some unused API --- src/ORM/DataObject.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ORM/DataObject.php b/src/ORM/DataObject.php index e445db6e0..462b15424 100644 --- a/src/ORM/DataObject.php +++ b/src/ORM/DataObject.php @@ -4016,19 +4016,26 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity /* * @ignore + * @deprecated 5.2.0 Will be removed without equivalent functionality */ private static $subclass_access = true; /** * Temporarily disable subclass access in data object qeur + * @deprecated 5.2.0 Will be removed without equivalent functionality */ public static function disable_subclass_access() { + Deprecation::notice('5.2.0', 'Will be removed without equivalent functionality'); self::$subclass_access = false; } + /** + * @deprecated 5.2.0 Will be removed without equivalent functionality + */ public static function enable_subclass_access() { + Deprecation::notice('5.2.0', 'Will be removed without equivalent functionality'); self::$subclass_access = true; }