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
eca9e26e39
commit
65e632a9dd
|
@ -150,7 +150,7 @@ class GroupManager
|
|||
$group->addUser($user);
|
||||
}
|
||||
|
||||
protected function createGroupInBackend($gid, $originalGid = null) {
|
||||
protected function createGroupInBackend(string $gid, ?string $originalGid = null): ?IGroup {
|
||||
if($this->groupManager instanceof PublicEmitter) {
|
||||
$this->groupManager->emit('\OC\Group', 'preCreate', array($gid));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue