diff --git a/library/Businessprocess/Modification/NodeRemoveAction.php b/library/Businessprocess/Modification/NodeRemoveAction.php index 64d89012..37697646 100644 --- a/library/Businessprocess/Modification/NodeRemoveAction.php +++ b/library/Businessprocess/Modification/NodeRemoveAction.php @@ -62,7 +62,6 @@ public function appliesTo(BpConfig $config) */ public function applyTo(BpConfig $config) { - $config->calculateAllStates(); $name = $this->getNodeName(); $parentName = $this->getParentName(); if ($parentName === null) { @@ -81,7 +80,6 @@ public function applyTo(BpConfig $config) } else { $node = $config->getNode($name); $parent = $config->getBpNode($parentName); - $parent->getState(); $parent->removeChild($name); $node->removeParent($parentName); if (! $node->hasParents()) {