removing encryption preview check

This commit is contained in:
Clark Tomlinson 2015-05-07 11:41:02 -04:00
parent d557519746
commit 7d2666699b

View file

@ -115,9 +115,6 @@ class Helper
$entry['id'] = $id++;
$entry['etag'] = $entry['mtime']; // add fake etag, it is only needed to identify the preview image
$entry['permissions'] = \OCP\Constants::PERMISSION_READ;
if (\OCP\App::isEnabled('encryption')) {
$entry['isPreviewAvailable'] = false;
}
$files[] = $entry;
}
return $files;