diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-10-05 22:35:51 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-10-05 22:35:51 +0200 |
commit | 5d196f14db352f6f0a7e448a87787fbc38ab6e90 (patch) | |
tree | d15a3c576e343d9e83135e54b1b7e89440d5e742 /lib/filecache.php | |
parent | 4f7c7c615e6eb0e3818b28a24d8cf77cd7546e19 (diff) | |
download | nextcloud-server-5d196f14db352f6f0a7e448a87787fbc38ab6e90.tar.gz nextcloud-server-5d196f14db352f6f0a7e448a87787fbc38ab6e90.zip |
set folder size to 0 when scanning the filesystem
Diffstat (limited to 'lib/filecache.php')
-rw-r--r-- | lib/filecache.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/filecache.php b/lib/filecache.php index 305ba035fb5..d68525d9a54 100644 --- a/lib/filecache.php +++ b/lib/filecache.php @@ -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); |