We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 838f1ca commit ff988faCopy full SHA for ff988fa
lib/private/Files/Storage/DAV.php
@@ -275,6 +275,7 @@ protected function propfind($path) {
275
'{http://open-collaboration-services.org/ns}share-permissions',
276
'{DAV:}resourcetype',
277
'{DAV:}getetag',
278
+ '{DAV:}quota-available-bytes',
279
]
280
);
281
$this->statCache->set($path, $response);
@@ -428,8 +429,7 @@ public function free_space($path) {
428
429
$this->init();
430
$path = $this->cleanPath($path);
431
try {
- // TODO: cacheable ?
432
- $response = $this->client->propfind($this->encodePath($path), ['{DAV:}quota-available-bytes']);
+ $response = $this->propfind($path);
433
if ($response === false) {
434
return FileInfo::SPACE_UNKNOWN;
435
}
0 commit comments