Skip to content

Commit

Permalink
TASK: Get rid of RemoveNode feedback in Move* changes
Browse files Browse the repository at this point in the history
As it turns out, using nodeAddresses rather than context paths, these feedbacks
are no longer necessary.
  • Loading branch information
grebaldi committed Jul 10, 2023
1 parent a53af29 commit 1375319
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions Classes/Domain/Model/Changes/MoveAfter.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ public function apply(): void
$updateParentNodeInfo->setNode($parentNodeOfPreviousSibling);
$this->feedbackCollection->add($updateParentNodeInfo);

$removeNode = new RemoveNode($subject, $parentNodeOfPreviousSibling);
$this->feedbackCollection->add($removeNode);

$this->finish($subject);
}
}
Expand Down
3 changes: 0 additions & 3 deletions Classes/Domain/Model/Changes/MoveBefore.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ public function apply(): void

$this->feedbackCollection->add($updateParentNodeInfo);

$removeNode = new RemoveNode($subject, $succeedingSiblingParent);
$this->feedbackCollection->add($removeNode);

$this->finish($subject);
}
}
Expand Down
3 changes: 0 additions & 3 deletions Classes/Domain/Model/Changes/MoveInto.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ public function apply(): void
$updateParentNodeInfo->setNode($parentNode);
$this->feedbackCollection->add($updateParentNodeInfo);

$removeNode = new RemoveNode($subject, $parentNode);
$this->feedbackCollection->add($removeNode);

$this->finish($subject);
}
}
Expand Down

0 comments on commit 1375319

Please sign in to comment.