fix filecache rename hook
This commit is contained in:
parent
fef3434bdf
commit
dae34edf4f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue