aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/helper.php
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_trashbin/lib/helper.php
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_trashbin/lib/helper.php')
-rw-r--r--apps/files_trashbin/lib/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/helper.php b/apps/files_trashbin/lib/helper.php
index 99f534565f9..4f442ee9304 100644
--- a/apps/files_trashbin/lib/helper.php
+++ b/apps/files_trashbin/lib/helper.php
@@ -61,7 +61,7 @@ class Helper
$i['directory'] = '';
}
$i['permissions'] = \OCP\PERMISSION_READ;
- $i['isPreviewAvailable'] = \OCP\Preview::isMimeSupported($r['mime']);
+ $i['isPreviewAvailable'] = \OC::$server->getPreviewManager()->isMimeSupported($r['mime']);
$i['icon'] = \OCA\Files\Helper::determineIcon($i);
$files[] = $i;
}