diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-11-26 10:18:32 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-11-26 10:18:32 +0100 |
commit | 9318606fafce10740c30be3662514d5a7a139ce5 (patch) | |
tree | d3c127c197028ed8b7143fed0c614ac7176661fe /lib/private/files/objectstore | |
parent | dd18ea611bd0e66969df22aedddc98cddbba4984 (diff) | |
download | nextcloud-server-9318606fafce10740c30be3662514d5a7a139ce5.tar.gz nextcloud-server-9318606fafce10740c30be3662514d5a7a139ce5.zip |
Remove last occurences of OC_Helper::getMimeType()
* ref #4774
Diffstat (limited to 'lib/private/files/objectstore')
-rw-r--r-- | lib/private/files/objectstore/objectstorestorage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/objectstore/objectstorestorage.php b/lib/private/files/objectstore/objectstorestorage.php index e108d7662d4..5ec05a3529e 100644 --- a/lib/private/files/objectstore/objectstorestorage.php +++ b/lib/private/files/objectstore/objectstorestorage.php @@ -370,7 +370,7 @@ class ObjectStoreStorage extends \OC\Files\Storage\Common { $stat['size'] = filesize($tmpFile); $stat['mtime'] = $mTime; $stat['storage_mtime'] = $mTime; - $stat['mimetype'] = \OC_Helper::getMimeType($tmpFile); + $stat['mimetype'] = \OC::$server->getMimeTypeDetector()->detect($tmpFile); $stat['etag'] = $this->getETag($path); $fileId = $this->getCache()->put($path, $stat); |