summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-06-26 17:35:55 +0200
committerGitHub <noreply@github.com>2018-06-26 17:35:55 +0200
commite9001fecb6e7955d6ca1ee4da826e0575a932809 (patch)
tree0b9fd0d2a7f0ee83d2af104f04bd002ca7e18c33 /apps
parent2b8a4f1aeb9dabfd9f3c8345a8139d4048cec572 (diff)
parent290b5b546107a27c0a5901650664ebdaff0c252b (diff)
downloadnextcloud-server-e9001fecb6e7955d6ca1ee4da826e0575a932809.tar.gz
nextcloud-server-e9001fecb6e7955d6ca1ee4da826e0575a932809.zip
Merge pull request #10005 from nextcloud/group-exists-error
show error message when group exists
Diffstat (limited to 'apps')
-rw-r--r--apps/provisioning_api/lib/Controller/GroupsController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/Controller/GroupsController.php b/apps/provisioning_api/lib/Controller/GroupsController.php
index d30d0077cdc..2dbe2c8502f 100644
--- a/apps/provisioning_api/lib/Controller/GroupsController.php
+++ b/apps/provisioning_api/lib/Controller/GroupsController.php
@@ -239,7 +239,7 @@ class GroupsController extends AUserData {
}
// Check if it exists
if($this->groupManager->groupExists($groupid)){
- throw new OCSException('', 102);
+ throw new OCSException('group exists', 102);
}
$this->groupManager->createGroup($groupid);
return new DataResponse();