summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-10-23 14:57:53 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-11-07 15:17:24 +0100
commit3d19bb2e51333fed3edb106c52740a8dba4f700c (patch)
tree774d30d8199e580713cac8bba2b8c49c9044458a /apps
parentfa3b6192ec19340a626712d67710d5a2df691d60 (diff)
downloadnextcloud-server-3d19bb2e51333fed3edb106c52740a8dba4f700c.tar.gz
nextcloud-server-3d19bb2e51333fed3edb106c52740a8dba4f700c.zip
also try to get file info from part file
Diffstat (limited to 'apps')
-rw-r--r--apps/files_encryption/lib/proxy.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_encryption/lib/proxy.php b/apps/files_encryption/lib/proxy.php
index 31723ae7647..55f2df783c4 100644
--- a/apps/files_encryption/lib/proxy.php
+++ b/apps/files_encryption/lib/proxy.php
@@ -345,8 +345,8 @@ class Proxy extends \OC_FileProxy {
return $size;
}
- // get file info from database/cache if not .part file
- if (empty($fileInfo) && !Helper::isPartialFilePath($path)) {
+ // get file info from database/cache
+ if (empty($fileInfo)) {
$proxyState = \OC_FileProxy::$enabled;
\OC_FileProxy::$enabled = false;
$fileInfo = $view->getFileInfo($path);