N°9639 - Clarify comment on deletion plan to indicate prevention of infinite loops

This commit is contained in:
Eric Espie
2026-06-30 09:15:53 +02:00
parent fe32ebcbca
commit 3da34dabd8

View File

@@ -111,6 +111,7 @@ class StaticDeletionPlan
// Delete entries in Remote Class
if (count($aRemoteIdsToRemove) !== 0) {
$oDeletionPlanEntity->oDelete->Merge(new DeletionPlanItem($aRemoteIdsToRemove));
// Infinite loops do not occurs due to the datamodel structure
$this->DeletionPlanForReferencingClasses($sRemoteClass);
}
}