summaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-05-16 14:17:41 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-05-16 14:31:10 +0200
commit45110f4c5d4d5fe1698b7ff05c777d7344da1fe3 (patch)
treeacd84bb3c6d745cfabdcf92875f10c16cb6607e7 /apps/provisioning_api/lib
parent856a33ec47e169bcfb57eb7abad51e567f8da203 (diff)
downloadnextcloud-server-45110f4c5d4d5fe1698b7ff05c777d7344da1fe3.tar.gz
nextcloud-server-45110f4c5d4d5fe1698b7ff05c777d7344da1fe3.zip
fixes misunderstanding of the error message
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/provisioning_api/lib')
-rw-r--r--apps/provisioning_api/lib/Controller/UsersController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php
index c7625a26f59..b993188c97e 100644
--- a/apps/provisioning_api/lib/Controller/UsersController.php
+++ b/apps/provisioning_api/lib/Controller/UsersController.php
@@ -773,7 +773,7 @@ class UsersController extends AUserData {
if (count($userSubAdminGroups) <= 1) {
// Subadmin must not be able to remove a user from all their subadmin groups.
- throw new OCSException('Cannot remove user from this group as this is the only remaining group you are a SubAdmin of', 105);
+ throw new OCSException('Not viable to remove user from the last group you are SubAdmin of', 105);
}
}