Permalink
Browse files

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

  • Loading branch information...
1 parent a46838c commit d13b067b54e315ee432e4f6d1839e16f939a59aa @halkyon halkyon committed Nov 16, 2012
Showing with 0 additions and 11 deletions.
  1. +0 −11 control/HTTP.php
View
@@ -185,17 +185,6 @@ public static function getImagesIn($content) {
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.
*

0 comments on commit d13b067

Please sign in to comment.