mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-05-02 17:14:53 +02:00
Update lib/GroupManager.php
Signed-off-by: Jonathan Treffler <mail@jonathan-treffler.de> Co-authored-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
b4232fd4ea
commit
5f3a68e0cd
|
@ -155,7 +155,7 @@ class GroupManager
|
|||
$this->groupManager->emit('\OC\Group', 'preCreate', array($gid));
|
||||
}
|
||||
if(!$this->ownGroupBackend->createGroup($gid, $originalGid ?? $gid)) {
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
|
||||
$group = $this->groupManager->get($gid);
|
||||
|
|
Loading…
Reference in a new issue