N°6967 Deprecate DBDeleteTracked_Internal methods

This commit is contained in:
Pierre Goiffon
2023-11-21 18:05:29 +01:00
parent fa830bdd7f
commit cfe73699cf
2 changed files with 5 additions and 12 deletions

View File

@@ -4659,7 +4659,10 @@ HTML;
return $oDeletionPlan; return $oDeletionPlan;
} }
protected function DBDeleteTracked_Internal(&$oDeletionPlan = null) /**
* @deprecated 3.1.1 3.2.0 N°6967 We will have only one DBDelete method in the future
*/
protected function DBDeleteTracked_Internal(&$oDeletionPlan = null)
{ {
// Invoke extensions before the deletion (the deletion will do some cleanup and we might loose some information // Invoke extensions before the deletion (the deletion will do some cleanup and we might loose some information
/** @var \iApplicationObjectExtension $oExtensionInstance */ /** @var \iApplicationObjectExtension $oExtensionInstance */

View File

@@ -480,17 +480,7 @@ abstract class CMDBObject extends DBObject
} }
/** /**
* @param null $oDeletionPlan * @deprecated 3.1.1 3.2.0 N°6967 We will have only one DBDelete method in the future
*
* @return \DeletionPlan|null
* @throws \ArchivedObjectException
* @throws \CoreCannotSaveObjectException
* @throws \CoreException
* @throws \CoreUnexpectedValue
* @throws \DeleteException
* @throws \MySQLException
* @throws \MySQLHasGoneAwayException
* @throws \OQLException
*/ */
protected function DBDeleteTracked_Internal(&$oDeletionPlan = null) protected function DBDeleteTracked_Internal(&$oDeletionPlan = null)
{ {