Skip to content
Snippets Groups Projects
Commit dae34edf authored by Robin Appelman's avatar Robin Appelman
Browse files

fix filecache rename hook

parent fef3434b
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment