Remove deprecated (and useless) function finfo_close

This commit is contained in:
2025-11-28 02:34:13 +01:00
parent a2c2baa8c2
commit 55b8f3fc69

View File

@@ -741,7 +741,6 @@ final class MD_STD {
if (!($mime_type = finfo_file($finfo, $filepath))) { if (!($mime_type = finfo_file($finfo, $filepath))) {
throw new MDWrongFileType("Cannot get mime type of file: " . basename($filepath)); throw new MDWrongFileType("Cannot get mime type of file: " . basename($filepath));
} }
\finfo_close($finfo);
return $mime_type; return $mime_type;