Skip to content
Snippets Groups Projects
Commit 3d19bb2e authored by Björn Schießle's avatar Björn Schießle
Browse files

also try to get file info from part file

parent fa3b6192
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment