diff --git a/lib/Hooks/FileListener.php b/lib/Hooks/FileListener.php index 5b478a30..eb155922 100644 --- a/lib/Hooks/FileListener.php +++ b/lib/Hooks/FileListener.php @@ -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) {