summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/helper.php
diff options
context:
space:
mode:
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;
}