Skip to content

Commit

Permalink
Allow to retrieve the quota itself via the provisioning api
Browse files Browse the repository at this point in the history
  • Loading branch information
nickvergessen committed Aug 17, 2016
1 parent 1158c47 commit 8aa9147
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 8aa9147

Please sign in to comment.