use cached size for getting the size of a moved file

This commit is contained in:
Robin Appelman 2012-02-15 14:42:37 +01:00
parent e6b835bea8
commit c2fb5fed02
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}