Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/Storage')
-rw-r--r--lib/private/Files/Storage/DAV.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Storage/DAV.php b/lib/private/Files/Storage/DAV.php
index ee874d97b55..b7d1c4bbc10 100644
--- a/lib/private/Files/Storage/DAV.php
+++ b/lib/private/Files/Storage/DAV.php
@@ -275,6 +275,7 @@ class DAV extends Common {
'{http://open-collaboration-services.org/ns}share-permissions',
'{DAV:}resourcetype',
'{DAV:}getetag',
+ '{DAV:}quota-available-bytes',
]
);
$this->statCache->set($path, $response);
@@ -428,8 +429,7 @@ class DAV extends Common {
$this->init();
$path = $this->cleanPath($path);
try {
- // TODO: cacheable ?
- $response = $this->client->propfind($this->encodePath($path), ['{DAV:}quota-available-bytes']);
+ $response = $this->propfind($path);
if ($response === false) {
return FileInfo::SPACE_UNKNOWN;
}