From a54be132fca86ceb6d6bb87368f55937f41e94a2 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 18 Dec 2015 13:43:44 +0100 Subject: Removed deprecated unsused function OC_Helper::getStringMimeType --- lib/private/helper.php | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'lib/private/helper.php') diff --git a/lib/private/helper.php b/lib/private/helper.php index 29ecd85388f..f329d53fa76 100644 --- a/lib/private/helper.php +++ b/lib/private/helper.php @@ -346,17 +346,6 @@ class OC_Helper { return \OC::$server->getMimeTypeDetector()->detectPath($path); } - /** - * get the mimetype form a data string - * - * @param string $data - * @return string - * @deprecated 8.2.0 Use \OC::$server->getMimeTypeDetector()->detectString($data) - */ - static function getStringMimeType($data) { - return \OC::$server->getMimeTypeDetector()->detectString($data); - } - /** * detect if a given program is found in the search PATH * -- cgit v1.2.3