diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-11-26 10:58:30 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-11-26 10:58:30 +0100 |
commit | 0b8296a756a873b11a528d59dc06e818b0d6fda5 (patch) | |
tree | c4d39a91e66e442764c577dd10bee57368af5bbb /lib/private | |
parent | 9318606fafce10740c30be3662514d5a7a139ce5 (diff) | |
download | nextcloud-server-0b8296a756a873b11a528d59dc06e818b0d6fda5.tar.gz nextcloud-server-0b8296a756a873b11a528d59dc06e818b0d6fda5.zip |
remove unused method
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/helper.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php index ee2f520fe2b..0bc13b0b14f 100644 --- a/lib/private/helper.php +++ b/lib/private/helper.php @@ -402,18 +402,6 @@ class OC_Helper { } /** - * 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. * * @param string $mimeType |