summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();