diff --git a/lib/filecache.php b/lib/filecache.php index 24984c2ccf..e62fb2189f 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);