From: Bjoern Schiessle Date: Thu, 23 Oct 2014 12:57:53 +0000 (+0200) Subject: also try to get file info from part file X-Git-Tag: v8.0.0alpha1~342^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3d19bb2e51333fed3edb106c52740a8dba4f700c;p=nextcloud-server.git also try to get file info from part file --- 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);