diff --git a/lib/filecache.php b/lib/filecache.php index 24984c2ccffba7e35b65ad789bcdaa0a0f79528d..e62fb2189f48de06e0a0de6a919836f5197b237f 100644 --- a/lib/filecache.php +++ b/lib/filecache.php @@ -475,7 +475,7 @@ class OC_FileCache{ }else{ return; } - $size=OC_Filesystem::filesize($oldPath); + $size=OC_Filesystem::filesize($newPath); self::increaseSize(dirname($fullOldPath),-$oldSize); self::increaseSize(dirname($fullNewPath),$oldSize); self::move($oldPath,$newPath);