diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-01-08 00:55:11 -0800 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-01-08 00:55:11 -0800 |
commit | 1614ad42b3ece31aed2b00f5592ee92b1ad1649e (patch) | |
tree | 756d689667faa2e86d7b437ea2157db8ab9a2704 /lib | |
parent | 6be2dee5bca4a38d621f5f5c408b1bd021722f29 (diff) | |
parent | 5be4af9f519ef8d0424f8b07ba84c43da9cf11f4 (diff) | |
download | nextcloud-server-1614ad42b3ece31aed2b00f5592ee92b1ad1649e.tar.gz nextcloud-server-1614ad42b3ece31aed2b00f5592ee92b1ad1649e.zip |
Merge pull request #6673 from owncloud/master-quota-insufficientstorageforfilesfix
Now also preventing to override "files" dir size with -1
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); } |