From 029bebb278a74767cef8cadf2d24a490babd6c93 Mon Sep 17 00:00:00 2001 From: Anupam Kumar Date: Fri, 15 Dec 2023 19:46:49 +0530 Subject: [PATCH] do not recheck mimetype of file Signed-off-by: Anupam Kumar --- lib/Listener/FileListener.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/Listener/FileListener.php b/lib/Listener/FileListener.php index f835478..26c39e2 100644 --- a/lib/Listener/FileListener.php +++ b/lib/Listener/FileListener.php @@ -120,11 +120,6 @@ public function handle(Event $event): void { if (!$node instanceof File) { continue; } - - if (!$this->allowedMimeType($node)) { - continue; - } - $fileRefs[] = 'file: ' . $node->getId(); }