diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-01-07 17:41:04 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-01-07 22:34:01 +0100 |
commit | 5be4af9f519ef8d0424f8b07ba84c43da9cf11f4 (patch) | |
tree | a455baeaee862b4e73c6ec2052818f485e8cb7fe /lib | |
parent | b6474506ebde78ef563d0d0c431d8ad02e7f125c (diff) | |
download | nextcloud-server-5be4af9f519ef8d0424f8b07ba84c43da9cf11f4.tar.gz nextcloud-server-5be4af9f519ef8d0424f8b07ba84c43da9cf11f4.zip |
Now also preventing to override "files" dir size with -1
Fixes #6526
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/cache/homecache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/cache/homecache.php b/lib/private/files/cache/homecache.php index 18dfbfe3191..71bb944da71 100644 --- a/lib/private/files/cache/homecache.php +++ b/lib/private/files/cache/homecache.php @@ -16,7 +16,7 @@ class HomeCache extends Cache { * @return int */ public function calculateFolderSize($path) { - if ($path !== '/' and $path !== '') { + if ($path !== '/' and $path !== '' and $path !== 'files') { return parent::calculateFolderSize($path); } |