summaryrefslogtreecommitdiffstats
path: root/lib/private/helper.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2015-12-18 14:00:20 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2015-12-18 14:00:20 +0100
commitb460bde7c6c3c70fc0010133c00f1e76a952fa48 (patch)
tree75bc46bd7e9395fd604f4a41ae0ad9010e971503 /lib/private/helper.php
parenta54be132fca86ceb6d6bb87368f55937f41e94a2 (diff)
downloadnextcloud-server-b460bde7c6c3c70fc0010133c00f1e76a952fa48.tar.gz
nextcloud-server-b460bde7c6c3c70fc0010133c00f1e76a952fa48.zip
Removed deprecated OC_Helper::mimeTypeIcon function
Diffstat (limited to 'lib/private/helper.php')
-rw-r--r--lib/private/helper.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php
index f329d53fa76..95f6be27ccf 100644
--- a/lib/private/helper.php
+++ b/lib/private/helper.php
@@ -138,18 +138,6 @@ class OC_Helper {
}
/**
- * get path to icon of file type
- * @param string $mimetype mimetype
- * @return string the url
- *
- * Returns the path to the image of this file type.
- * @deprecated 8.2.0 Use \OC::$server->getMimeTypeDetector()->mimeTypeIcon($mimetype)
- */
- public static function mimetypeIcon($mimetype) {
- return \OC::$server->getMimeTypeDetector()->mimeTypeIcon($mimetype);
- }
-
- /**
* get path to preview of file
* @param string $path path
* @return string the url
@@ -336,17 +324,6 @@ class OC_Helper {
}
/**
- * Try to guess the mimetype based on filename
- *
- * @param string $path
- * @return string
- * @deprecated 8.2.0 Use \OC::$server->getMimeTypeDetector()->detectPath($path)
- */
- static public function getFileNameMimeType($path) {
- return \OC::$server->getMimeTypeDetector()->detectPath($path);
- }
-
- /**
* detect if a given program is found in the search PATH
*
* @param string $name