summaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2015-12-18 13:42:59 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2015-12-18 13:42:59 +0100
commit4f20e3bac0dec72ede10f947ee3d1125071d4564 (patch)
tree36c27fcc686d457f3f8cc3f34fce2a760b0ad525 /apps/dav
parentb4a896c00ddfbd7c3965a4d9c9b723b6fe915103 (diff)
downloadnextcloud-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.php2
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);
}
/**