Use MD_STD::unlink over unlink in mime type check

This commit is contained in:
jrenslin committed 2021-07-20 03:34:01 +02:00
1 parent d53303e617
commit 01ac23229b
1 file changed
+1 -1
+1 -1
View File
@@ -594,7 +594,7 @@ public static function remote_mime_content_type(string $url):string {
\curl_close($ch);
$mime_type = MD_STD::mime_content_type($tmp_file);
\unlink($tmp_file);
self::unlink($tmp_file);
return $mime_type;