diff options
author | Robin Appelman <robin@icewind.nl> | 2018-06-26 15:00:54 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2018-06-26 15:00:54 +0200 |
commit | 290b5b546107a27c0a5901650664ebdaff0c252b (patch) | |
tree | 8cba796541ad503702cebfb13afd48c6eb571c9c /apps/provisioning_api/lib | |
parent | 43f7ea5852db6375efe1fd2f309eb919e3e97feb (diff) | |
download | nextcloud-server-290b5b546107a27c0a5901650664ebdaff0c252b.tar.gz nextcloud-server-290b5b546107a27c0a5901650664ebdaff0c252b.zip |
show error message when group exists
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/provisioning_api/lib')
-rw-r--r-- | apps/provisioning_api/lib/Controller/GroupsController.php | 2 |
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(); |