]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove unused method
authorMorris Jobke <hey@morrisjobke.de>
Thu, 26 Nov 2015 09:58:30 +0000 (10:58 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Thu, 26 Nov 2015 09:58:30 +0000 (10:58 +0100)
lib/private/helper.php

index ee2f520fe2b58cfb4f83904b2d267d9c0f4c61fa..0bc13b0b14fb95c4ad0175abd60dcf511a604b32 100644 (file)
@@ -401,18 +401,6 @@ class OC_Helper {
                return \OC::$server->getMimeTypeDetector()->detectPath($path);
        }
 
-       /**
-        * get the mimetype form a local file
-        *
-        * @param string $path
-        * @return string
-        * does NOT work for ownClouds filesystem, use OC_FileSystem::getMimeType instead
-        * @deprecated 8.2.0 Use \OC::$server->getMimeTypeDetector()->detect($path)
-        */
-       static function getMimeType($path) {
-               return \OC::$server->getMimeTypeDetector()->detect($path);
-       }
-
        /**
         * Get a secure mimetype that won't expose potential XSS.
         *