summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-01-08 00:55:11 -0800
committerVincent Petry <pvince81@owncloud.com>2014-01-08 00:55:11 -0800
commit1614ad42b3ece31aed2b00f5592ee92b1ad1649e (patch)
tree756d689667faa2e86d7b437ea2157db8ab9a2704 /lib
parent6be2dee5bca4a38d621f5f5c408b1bd021722f29 (diff)
parent5be4af9f519ef8d0424f8b07ba84c43da9cf11f4 (diff)
downloadnextcloud-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.php2
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);
}