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

don't increase the size of the users home folder twice

parent 4c4fd36b
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
/**
......
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