Commit 3d19bb2e authored by Bjoern Schiessle's avatar Bjoern Schiessle
Browse files

also try to get file info from part file

parent fa3b6192
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment