diff --git a/application/cmdbabstract.class.inc.php b/application/cmdbabstract.class.inc.php index eff21c951..ed8bfaf7f 100644 --- a/application/cmdbabstract.class.inc.php +++ b/application/cmdbabstract.class.inc.php @@ -4668,25 +4668,6 @@ HTML; parent::PostDeleteActions(); } - /** - * @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 */ - foreach(MetaModel::EnumPlugins('iApplicationObjectExtension') as $oExtensionInstance) - { - $sExtensionClass = get_class($oExtensionInstance); - $this->LogCRUDDebug(__METHOD__, "Calling $sExtensionClass::OnDBDelete()"); - $oKPI = new ExecutionKPI(); - $oExtensionInstance->OnDBDelete($this, self::GetCurrentChange()); - $oKPI->ComputeStatsForExtension($oExtensionInstance, 'OnDBDelete'); - } - - return parent::DBDeleteTracked_Internal($oDeletionPlan); - } - public function IsModified() { if (parent::IsModified()) diff --git a/core/cmdbobject.class.inc.php b/core/cmdbobject.class.inc.php index 0c8452a1a..aba28e3e5 100644 --- a/core/cmdbobject.class.inc.php +++ b/core/cmdbobject.class.inc.php @@ -461,16 +461,6 @@ abstract class CMDBObject extends DBObject return $oDeletionPlan; } - /** - * @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) - { - $ret = parent::DBDelete($oDeletionPlan); - - return $ret; - } - public function DBArchive() { // Note: do the job anyway, so as to repair any DB discrepancy