Remove deprecated HTTP::getMimeType() use get_mime_type() instead

This commit is contained in:
Sean Harvey 2012-11-16 14:33:20 +13:00
parent a46838c436
commit d13b067b54

View File

@ -185,17 +185,6 @@ class HTTP {
return self::findByTagAndAttribute($content, array("img" => "src")); return self::findByTagAndAttribute($content, array("img" => "src"));
} }
/**
* Get mime type based on extension
*
* @uses finfo
* @deprecated Use HTTP::get_mime_type() instead
*/
public static function getMimeType($filename) {
Deprecation::notice('3.0', 'Use HTTP::get_mime_type() instead.');
self::get_mime_type($filename);
}
/** /**
* Get the MIME type based on a file's extension. * Get the MIME type based on a file's extension.
* *