mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 15:21:00 -04:00
also try to get file info from part file
This commit is contained in:
parent
fa3b6192ec
commit
3d19bb2e51
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue