mirror of
https://github.com/Combodo/iTop.git
synced 2026-07-01 20:26:38 +02:00
N°9639 - Refactor variable name for clarity in hierarchical key update process
This commit is contained in:
@@ -103,11 +103,9 @@ class StaticDeletionPlan
|
||||
|
||||
if (($iDeletePropagationOption == DEL_MOVEUP) && ($oExtKeyAttDef->IsHierarchicalKey())) {
|
||||
// update hierarchical keys due to row cleanup in the same table
|
||||
$sIdsToRemove = implode(',', $this->aDeletionPlan[$sRemoteClass]->oDelete->aIds);
|
||||
$oUpdateItem = $this->UpdateHierarchicalExtKey($sRemoteClass, $sExtKeyAttCode, $sIdsToRemove);
|
||||
$sTargetIdsToRemove = implode(',', $this->aDeletionPlan[$sRemoteClass]->oDelete->aIds);
|
||||
$oUpdateItem = $this->UpdateHierarchicalExtKey($sRemoteClass, $sExtKeyAttCode, $sTargetIdsToRemove);
|
||||
$oDeletionPlanEntity->oUpdate->Merge($oUpdateItem);
|
||||
// do not recurse
|
||||
continue;
|
||||
}
|
||||
|
||||
// Delete entries in Remote Class
|
||||
|
||||
Reference in New Issue
Block a user