Skip to content

Commit

Permalink
API Deprecate some unused API
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Jan 17, 2024
1 parent 5608612 commit 8b427f4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ORM/DataObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -4016,19 +4016,26 @@ public function isInDB()

/*
* @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;
}

Expand Down

0 comments on commit 8b427f4

Please sign in to comment.