Skip to content

Commit

Permalink
Merge pull request #901 from nextcloud/backport-890-quota-unlimited-v…
Browse files Browse the repository at this point in the history
…ia-api-9

[stable9] Allow to retrieve the quota itself via the provisioning api
  • Loading branch information
MariusBluem authored Aug 17, 2016
2 parents 1158c47 + 8aa9147 commit edf08f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/provisioning_api/lib/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@ protected function fillStorageInfo($userId) {
'used' => $storage['used'],
'total' => $storage['total'],
'relative' => $storage['relative'],
'quota' => $storage['quota'],
];
} catch (NotFoundException $ex) {
$data = [];
Expand Down
2 changes: 1 addition & 1 deletion lib/public/files/fileinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit edf08f5

Please sign in to comment.