diff --git a/application/cmdbabstract.class.inc.php b/application/cmdbabstract.class.inc.php index 5718cb1fa..6daccf162 100644 --- a/application/cmdbabstract.class.inc.php +++ b/application/cmdbabstract.class.inc.php @@ -4659,7 +4659,10 @@ HTML; 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 /** @var \iApplicationObjectExtension $oExtensionInstance */ diff --git a/core/cmdbobject.class.inc.php b/core/cmdbobject.class.inc.php index 4e7f66206..b9df6d05f 100644 --- a/core/cmdbobject.class.inc.php +++ b/core/cmdbobject.class.inc.php @@ -480,17 +480,7 @@ abstract class CMDBObject extends DBObject } /** - * @param null $oDeletionPlan - * - * @return \DeletionPlan|null - * @throws \ArchivedObjectException - * @throws \CoreCannotSaveObjectException - * @throws \CoreException - * @throws \CoreUnexpectedValue - * @throws \DeleteException - * @throws \MySQLException - * @throws \MySQLHasGoneAwayException - * @throws \OQLException + * @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) {