Merge pull request #896 from nextcloud/backport-890-quota-unlimited-via-api

[stable10] Allow to retrieve the quota itself via the provisioning api
This commit is contained in:
Lukas Reschke 2016-08-17 10:45:06 +02:00 committed by GitHub
commit f9b4a6ae61
2 changed files with 2 additions and 1 deletions

View File

@ -622,6 +622,7 @@ class Users {
'used' => $storage['used'],
'total' => $storage['total'],
'relative' => $storage['relative'],
'quota' => $storage['quota'],
];
} catch (NotFoundException $ex) {
$data = [];

View File

@ -53,7 +53,7 @@ interface FileInfo {
*/
const SPACE_UNKNOWN = -2;
/**
* @const \OCP\Files\FileInfo::SPACE_UNKNOWN Return value for unlimited space
* @const \OCP\Files\FileInfo::SPACE_UNLIMITED Return value for unlimited space
* @since 8.0.0
*/
const SPACE_UNLIMITED = -3;