don't increase the size of the users home folder twice
This commit is contained in:
parent
7139de2a6e
commit
e65ea6a8b7
|
@ -174,7 +174,9 @@ class OC_FileCache_Update{
|
||||||
}else{
|
}else{
|
||||||
$size=OC_FileCache::scanFile($path, $root);
|
$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 New Issue