show error message when group exists
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
43f7ea5852
commit
290b5b5461
|
@ -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 New Issue