aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-09-30 04:11:28 -0700
committerThomas Müller <thomas.mueller@tmit.eu>2013-09-30 04:11:28 -0700
commit480aeb804fc64be6fdcb1551f89e21304e270b33 (patch)
treef6bc00728db90071b6affea89b5c06c15909fe07 /apps/files_sharing
parentebb2278a6770cc68698e1ba5cb914d615b573519 (diff)
parent629faf6d343e7906322d125718f97d3ac2f9569b (diff)
downloadnextcloud-server-480aeb804fc64be6fdcb1551f89e21304e270b33.tar.gz
nextcloud-server-480aeb804fc64be6fdcb1551f89e21304e270b33.zip
Merge pull request #4459 from owncloud/appframework-master
Public API for OC6+ (includes AppFramework)
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/public.php b/apps/files_sharing/public.php
index 136767aeb45..eff38dcc0fd 100644
--- a/apps/files_sharing/public.php
+++ b/apps/files_sharing/public.php
@@ -188,7 +188,7 @@ if (isset($path)) {
} else {
$i['extension'] = '';
}
- $i['isPreviewAvailable'] = \OCP\Preview::isMimeSupported($i['mimetype']);
+ $i['isPreviewAvailable'] = \OC::$server->getPreviewManager()->isMimeSupported($i['mimetype']);
}
$i['directory'] = $getPath;
$i['permissions'] = OCP\PERMISSION_READ;