don't increase the size of the users home folder twice
This commit is contained in:
parent
4c4fd36bdd
commit
93cbd96662
1 changed files with 3 additions and 1 deletions
|
@ -174,7 +174,9 @@ class OC_FileCache_Update{
|
|||
}else{
|
||||
$size=OC_FileCache::scanFile($path, $root);
|
||||
}
|
||||
OC_FileCache::increaseSize(dirname($path), $size-$cachedSize, $root);
|
||||
if($path !== '' and $path !== '/'){
|
||||
OC_FileCache::increaseSize(dirname($path), $size-$cachedSize, $root);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue