diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-26 12:37:25 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-26 12:37:25 +0100 |
commit | 3882cc8ef37a28972a8fca35ca1cc26cc060e7bc (patch) | |
tree | 418355ee610c1fea96cc6bf1f36ae8a306400ba9 /lib/public | |
parent | ff7d1eb9312299a07cf594feda76b33ccc982157 (diff) | |
parent | 0b8296a756a873b11a528d59dc06e818b0d6fda5 (diff) | |
download | nextcloud-server-3882cc8ef37a28972a8fca35ca1cc26cc060e7bc.tar.gz nextcloud-server-3882cc8ef37a28972a8fca35ca1cc26cc060e7bc.zip |
Merge pull request #20744 from owncloud/oc_helper-getMimeType-cleanup
Remove last occurences of OC_Helper::getMimeType()
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/files.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/files.php b/lib/public/files.php index c1dcffcbefb..e3582375f38 100644 --- a/lib/public/files.php +++ b/lib/public/files.php @@ -60,7 +60,7 @@ class Files { * @since 5.0.0 */ static function getMimeType( $path ) { - return(\OC_Helper::getMimeType( $path )); + return \OC::$server->getMimeTypeDetector()->detect($path); } /** |