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 /apps/files_sharing/templates | |
parent | a54be132fca86ceb6d6bb87368f55937f41e94a2 (diff) | |
download | nextcloud-server-b460bde7c6c3c70fc0010133c00f1e76a952fa48.tar.gz nextcloud-server-b460bde7c6c3c70fc0010133c00f1e76a952fa48.zip |
Removed deprecated OC_Helper::mimeTypeIcon function
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r-- | apps/files_sharing/templates/public.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index 046f954106a..aa1f926ea35 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -41,7 +41,7 @@ $thumbSize = 1024; <input type="hidden" name="filename" value="<?php p($_['filename']) ?>" id="filename"> <input type="hidden" name="mimetype" value="<?php p($_['mimetype']) ?>" id="mimetype"> <input type="hidden" name="previewSupported" value="<?php p($_['previewSupported'] ? 'true' : 'false'); ?>" id="previewSupported"> -<input type="hidden" name="mimetypeIcon" value="<?php p(OC_Helper::mimetypeIcon($_['mimetype'])); ?>" id="mimetypeIcon"> +<input type="hidden" name="mimetypeIcon" value="<?php p(\OC::$server->getMimeTypeDetector()->mimeTypeIcon($_['mimetype'])); ?>" id="mimetypeIcon"> <input type="hidden" name="filesize" value="<?php p($_['nonHumanFileSize']); ?>" id="filesize"> <input type="hidden" name="maxSizeAnimateGif" value="<?php p($_['maxSizeAnimateGif']); ?>" id="maxSizeAnimateGif"> |