diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-18 14:00:20 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2015-12-18 14:00:20 +0100 |
commit | b460bde7c6c3c70fc0010133c00f1e76a952fa48 (patch) | |
tree | 75bc46bd7e9395fd604f4a41ae0ad9010e971503 /lib/private/template/functions.php | |
parent | a54be132fca86ceb6d6bb87368f55937f41e94a2 (diff) | |
download | nextcloud-server-b460bde7c6c3c70fc0010133c00f1e76a952fa48.tar.gz nextcloud-server-b460bde7c6c3c70fc0010133c00f1e76a952fa48.zip |
Removed deprecated OC_Helper::mimeTypeIcon function
Diffstat (limited to 'lib/private/template/functions.php')
-rw-r--r-- | lib/private/template/functions.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/private/template/functions.php b/lib/private/template/functions.php index 6298f25edc1..982ecde5850 100644 --- a/lib/private/template/functions.php +++ b/lib/private/template/functions.php @@ -173,11 +173,9 @@ function image_path( $app, $image ) { * make OC_Helper::mimetypeIcon available as a simple function * @param string $mimetype mimetype * @return string link to the image - * - * For further information have a look at OC_Helper::mimetypeIcon */ function mimetype_icon( $mimetype ) { - return OC_Helper::mimetypeIcon( $mimetype ); + return \OC::$server->getMimeTypeDetector()->mimeTypeIcon( $mimetype ); } /** |