From d34017fcf6697d147c8bc6e9d54c571dac4fc240 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Fri, 11 Oct 2024 09:01:56 +0200 Subject: [PATCH] fix(FileListener): set recurse to true on BeforeNodeDeletedEvent Signed-off-by: Marcel Klehr --- lib/Hooks/FileListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {