Use MD_STD::unlink over unlink in mime type check
This commit is contained in:
parent
d53303e617
commit
01ac23229b
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user