From d13b067b54e315ee432e4f6d1839e16f939a59aa Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Fri, 16 Nov 2012 14:33:20 +1300 Subject: [PATCH] Remove deprecated HTTP::getMimeType() use get_mime_type() instead --- control/HTTP.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/control/HTTP.php b/control/HTTP.php index e85daa8bd..242e31a5c 100644 --- a/control/HTTP.php +++ b/control/HTTP.php @@ -185,17 +185,6 @@ class HTTP { 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. *