aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-09-17 13:33:47 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-09-17 13:33:47 +0200
commit9b420e8660404de27e3af629bfca188ae90cf7bd (patch)
treed040fb55ca6616aec04c7c4d61081119db4169b2 /apps/files_trashbin/lib
parentb9e943f5d52d1bf888233fdc2288477322591c43 (diff)
downloadnextcloud-server-9b420e8660404de27e3af629bfca188ae90cf7bd.tar.gz
nextcloud-server-9b420e8660404de27e3af629bfca188ae90cf7bd.zip
use \OC::$server->getPreviewManager() instead of \OCP\Preview
Diffstat (limited to 'apps/files_trashbin/lib')
-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 098fc0b54b7..4cb5e8a3902 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\lib\Helper::determineIcon($i);
$files[] = $i;
}