Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit d13b067b54e315ee432e4f6d1839e16f939a59aa 1 parent a46838c
@halkyon halkyon authored
Showing with 0 additions and 11 deletions.
  1. +0 −11 control/HTTP.php
View
11 control/HTTP.php
@@ -186,17 +186,6 @@ public static function getImagesIn($content) {
}
/**
- * 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.
*
* If the finfo class exists in PHP, and the file actually exists, then use that
Please sign in to comment.
Something went wrong with that request. Please try again.