Skip to content

Commit

Permalink
do not recheck mimetype of file
Browse files Browse the repository at this point in the history
Signed-off-by: Anupam Kumar <[email protected]>
  • Loading branch information
kyteinsky committed Dec 15, 2023
1 parent 54ed862 commit 029bebb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/Listener/FileListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,6 @@ public function handle(Event $event): void {
if (!$node instanceof File) {
continue;
}

if (!$this->allowedMimeType($node)) {
continue;
}

$fileRefs[] = 'file: ' . $node->getId();
}

Expand Down

0 comments on commit 029bebb

Please sign in to comment.