Use MD_STD::unlink over unlink in mime type check

This commit is contained in:
Joshua Ramon Enslin 2021-07-20 03:34:01 +02:00
parent d53303e617
commit 01ac23229b
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -594,7 +594,7 @@ final class MD_STD {
\curl_close($ch); \curl_close($ch);
$mime_type = MD_STD::mime_content_type($tmp_file); $mime_type = MD_STD::mime_content_type($tmp_file);
\unlink($tmp_file); self::unlink($tmp_file);
return $mime_type; return $mime_type;