summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2023-02-16 08:43:14 +0100
committerJulius Härtl (Rebase PR Action) <github@juliushaertl.de>2023-03-06 22:46:07 +0000
commit3287eddbbc4465ee5fcb39016b3ad0ad27959ea6 (patch)
tree1c60f50335955c1a19a245a982ce10e9e80f1b48 /apps/provisioning_api
parentb59cf4c1d49835f9a6eedfdfda2b96f40c6a9ba6 (diff)
downloadnextcloud-server-3287eddbbc4465ee5fcb39016b3ad0ad27959ea6.tar.gz
nextcloud-server-3287eddbbc4465ee5fcb39016b3ad0ad27959ea6.zip
fix: Recalculate storage statistics on updating the quota
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/provisioning_api')
-rw-r--r--apps/provisioning_api/lib/Controller/UsersController.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php
index 97d66acd2e0..1613561fbe1 100644
--- a/apps/provisioning_api/lib/Controller/UsersController.php
+++ b/apps/provisioning_api/lib/Controller/UsersController.php
@@ -77,7 +77,6 @@ use OCP\User\Backend\ISetDisplayNameBackend;
use Psr\Log\LoggerInterface;
class UsersController extends AUserData {
-
/** @var IURLGenerator */
protected $urlGenerator;
/** @var LoggerInterface */
@@ -374,7 +373,7 @@ class UsersController extends AUserData {
$group = $this->groupManager->get($groupid);
// Check if group exists
if ($group === null) {
- throw new OCSException('Subadmin group does not exist', 102);
+ throw new OCSException('Subadmin group does not exist', 102);
}
// Check if trying to make subadmin of admin group
if ($group->getGID() === 'admin') {
@@ -1311,7 +1310,7 @@ class UsersController extends AUserData {
}
// Check if group exists
if ($group === null) {
- throw new OCSException('Group does not exist', 102);
+ throw new OCSException('Group does not exist', 102);
}
// Check if trying to make subadmin of admin group
if ($group->getGID() === 'admin') {