Merge pull request #890 from nextcloud/issue-879-quota-unlimited-via-api
Allow to retrieve the quota itself via the provisioning api
This commit is contained in:
commit
e32d6d80a1
|
@ -623,6 +623,7 @@ class UsersController extends OCSController {
|
|||
'used' => $storage['used'],
|
||||
'total' => $storage['total'],
|
||||
'relative' => $storage['relative'],
|
||||
'quota' => $storage['quota'],
|
||||
];
|
||||
} catch (NotFoundException $ex) {
|
||||
$data = [];
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue