Skip to content
Snippets Groups Projects
Commit a78dc117 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

webdav: return SPACE_UNKNOWN if server do not support quota

parent 16033c81
No related branches found
No related tags found
No related merge requests found
......@@ -224,7 +224,7 @@ class DAV extends \OC\Files\Storage\Common{
if (isset($response['{DAV:}quota-available-bytes'])) {
return (int)$response['{DAV:}quota-available-bytes'];
} else {
return 0;
return \OC\Files\SPACE_UNKNOWN;
}
} catch(\Exception $e) {
return \OC\Files\SPACE_UNKNOWN;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment