fix filecache rename hook

This commit is contained in:
Robin Appelman 2012-04-15 16:04:21 +02:00
parent fef3434bdf
commit dae34edf4f
1 changed files with 1 additions and 1 deletions

View File

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