aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/helper.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-07-13 17:38:13 +0200
committerLukas Reschke <lukas@owncloud.com>2015-11-22 16:05:50 +0100
commitfa2be0750c50de45a2fd101eb23fa858c0e0771b (patch)
tree977892b4eeaf9c26e7157575d5c1909e6aa5febd /apps/files/lib/helper.php
parentf120846e291bf83244831770c5f25b730fa8ba90 (diff)
downloadnextcloud-server-fa2be0750c50de45a2fd101eb23fa858c0e0771b.tar.gz
nextcloud-server-fa2be0750c50de45a2fd101eb23fa858c0e0771b.zip
Make files app use Webdav for most operations
Diffstat (limited to 'apps/files/lib/helper.php')
-rw-r--r--apps/files/lib/helper.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/files/lib/helper.php b/apps/files/lib/helper.php
index fb14cea731f..9a4e8d59786 100644
--- a/apps/files/lib/helper.php
+++ b/apps/files/lib/helper.php
@@ -139,9 +139,6 @@ class Helper {
$entry['parentId'] = $i['parent'];
$entry['mtime'] = $i['mtime'] * 1000;
// only pick out the needed attributes
- if (\OC::$server->getPreviewManager()->isAvailable($i)) {
- $entry['isPreviewAvailable'] = true;
- }
$entry['name'] = $i->getName();
$entry['permissions'] = $i['permissions'];
$entry['mimetype'] = $i['mimetype'];