diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index 29d449e97d..8e5975468b 100644 --- a/apps/provisioning_api/lib/Controller/UsersController.php +++ b/apps/provisioning_api/lib/Controller/UsersController.php @@ -623,6 +623,7 @@ class UsersController extends OCSController { 'used' => $storage['used'], 'total' => $storage['total'], 'relative' => $storage['relative'], + 'quota' => $storage['quota'], ]; } catch (NotFoundException $ex) { $data = []; diff --git a/lib/public/Files/FileInfo.php b/lib/public/Files/FileInfo.php index 04790d4155..b6718efba3 100644 --- a/lib/public/Files/FileInfo.php +++ b/lib/public/Files/FileInfo.php @@ -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;