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

set folder size to 0 when scanning the filesystem

parent 4f7c7c61
No related branches found
No related tags found
No related merge requests found
......@@ -420,6 +420,7 @@ class OC_FileCache{
$mimetype=$view->getMimeType($path);
$stat=$view->stat($path);
if($mimetype=='httpd/unix-directory') {
$stat['size'] = 0;
$writable=$view->is_writable($path.'/');
}else{
$writable=$view->is_writable($path);
......
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