Fix call to getSubAdmin
This commit is contained in:
parent
6844009d71
commit
614eabce41
|
|
@ -117,7 +117,7 @@ class MailService {
|
||||||
// add subadmins of this group to notification list
|
// add subadmins of this group to notification list
|
||||||
if (!$userIsEnabled and $userGroupId) {
|
if (!$userIsEnabled and $userGroupId) {
|
||||||
$group = $this->groupManager->get($userGroupId);
|
$group = $this->groupManager->get($userGroupId);
|
||||||
$subadmin_users = $group->getSubAdmin()->getGroupsSubAdmins($group);
|
$subadmin_users = $this->$groupManager->getSubAdmin()->getGroupsSubAdmins($group);
|
||||||
foreach ($subadmin_users as $user) {
|
foreach ($subadmin_users as $user) {
|
||||||
if (!in_array($user, $admin_users)) {
|
if (!in_array($user, $admin_users)) {
|
||||||
$admin_users[] = $user;
|
$admin_users[] = $user;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue