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 /lib/private/helper.php | |
parent | b4a896c00ddfbd7c3965a4d9c9b723b6fe915103 (diff) | |
download | nextcloud-server-4f20e3bac0dec72ede10f947ee3d1125071d4564.tar.gz nextcloud-server-4f20e3bac0dec72ede10f947ee3d1125071d4564.zip |
Removed deprecated OC_Helper::getSecureMimeType
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r-- | lib/private/helper.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php index c6223d2147a..29ecd85388f 100644 --- a/lib/private/helper.php +++ b/lib/private/helper.php @@ -347,17 +347,6 @@ class OC_Helper { } /** - * Get a secure mimetype that won't expose potential XSS. - * - * @param string $mimeType - * @return string - * @deprecated 8.2.0 Use \OC::$server->getMimeTypeDetector()->getSecureMimeType($mimeType) - */ - static function getSecureMimeType($mimeType) { - return \OC::$server->getMimeTypeDetector()->getSecureMimeType($mimeType); - } - - /** * get the mimetype form a data string * * @param string $data |