]> source.dussan.org Git - nextcloud-server.git/commitdiff
also try to get file info from part file
authorBjoern Schiessle <schiessle@owncloud.com>
Thu, 23 Oct 2014 12:57:53 +0000 (14:57 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Fri, 7 Nov 2014 14:17:24 +0000 (15:17 +0100)
apps/files_encryption/lib/proxy.php

index 31723ae7647237f8707598893f668adbd7e446d3..55f2df783c466c367005eed8ec8432f43a9026af 100644 (file)
@@ -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);