mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
fix filecache rename hook
This commit is contained in:
parent
fef3434bdf
commit
dae34edf4f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue