diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-18 13:42:59 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-18 13:42:59 +0100 |
commit | 4f20e3bac0dec72ede10f947ee3d1125071d4564 (patch) | |
tree | 36c27fcc686d457f3f8cc3f34fce2a760b0ad525 /apps/dav | |
parent | b4a896c00ddfbd7c3965a4d9c9b723b6fe915103 (diff) | |
download | nextcloud-server-4f20e3bac0dec72ede10f947ee3d1125071d4564.tar.gz nextcloud-server-4f20e3bac0dec72ede10f947ee3d1125071d4564.zip |
Removed deprecated OC_Helper::getSecureMimeType
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/connector/sabre/file.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/connector/sabre/file.php b/apps/dav/lib/connector/sabre/file.php index c66f627c0a3..6a0a39d04e7 100644 --- a/apps/dav/lib/connector/sabre/file.php +++ b/apps/dav/lib/connector/sabre/file.php @@ -329,7 +329,7 @@ class File extends Node implements IFile { if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'PROPFIND') { return $mimeType; } - return \OC_Helper::getSecureMimeType($mimeType); + return \OC::$server->getMimeTypeDetector()->getSecureMimeType($mimeType); } /** |