mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #10005 from nextcloud/group-exists-error
show error message when group exists
This commit is contained in:
commit
e9001fecb6
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue