diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-01-17 04:09:53 -0800 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-01-17 04:09:53 -0800 |
commit | 21d32d8a9ef450771a43e75d555262ca97a9621c (patch) | |
tree | 24945a367bb5d055a0708c10edf17340d3757bb7 /apps | |
parent | 4d4bbbda3aaa6e98a61c97f906853ee68018c982 (diff) | |
parent | a78dc117327a3109805d2a4cbfe28b9a5ca49a81 (diff) | |
download | nextcloud-server-21d32d8a9ef450771a43e75d555262ca97a9621c.tar.gz nextcloud-server-21d32d8a9ef450771a43e75d555262ca97a9621c.zip |
Merge pull request #6810 from kofemann/for-upstream
webdav: return SPACE_UNKNOWN if server do not support quota
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/lib/webdav.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/webdav.php b/apps/files_external/lib/webdav.php index 0f8034e57d9..f6f4cb16e87 100644 --- a/apps/files_external/lib/webdav.php +++ b/apps/files_external/lib/webdav.php @@ -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; |