Skip to content

Commit

Permalink
Merge pull request #280 from Icinga/fix/delete-node-rendering
Browse files Browse the repository at this point in the history
Fix tile rendering for Bp nodes with unconfirmed deleted monitored nodes
  • Loading branch information
lippserd authored May 27, 2020
2 parents e0dffd3 + b39d953 commit 5037d8f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions library/Businessprocess/Modification/NodeRemoveAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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()) {
Expand Down

0 comments on commit 5037d8f

Please sign in to comment.