Skip to content

Commit

Permalink
fix(FileListener): set recurse to true on BeforeNodeDeletedEvent
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Oct 11, 2024
1 parent 5830005 commit d34017f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Hooks/FileListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public function handle(Event $event): void {
return;
}
if ($event instanceof BeforeNodeDeletedEvent) {
$this->postDelete($event->getNode(), false);
$this->postDelete($event->getNode());
return;
}
if ($event instanceof NodeDeletedEvent) {
Expand Down

0 comments on commit d34017f

Please sign in to comment.