use cached size for getting the size of a moved file
This commit is contained in:
parent
e6b835bea8
commit
c2fb5fed02
|
@ -380,8 +380,7 @@ class OC_FileCache{
|
|||
$fullOldPath=$root.$oldPath;
|
||||
$fullNewPath=$root.$newPath;
|
||||
if(($id=self::getFileId($fullOldPath))!=-1){
|
||||
$oldInfo=self::get($fullOldPath);
|
||||
$oldSize=$oldInfo['size'];
|
||||
$oldSize=self::getCachedSize($oldPath,$root);
|
||||
}else{
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue