Signed-off-by: Morris Jobke <hey@morrisjobke.de>
$groups[$key]['usercount']--;
$userCount -= 1; // we also lower from one the total count
}
- };
+ }
$userCount += $this->userManager->countUsersOfGroups($groupsInfo->getGroups());
$disabledUsers = $this->userManager->countDisabledUsersOfGroups($groupsNames);
}
* @param string $user the uid of the current user
* @param bool $isAdmin whether the current users is an admin
* @param IGroupManager $groupManager
- * @param IUserManager $userManager
* @param IUserSession $userSession
*/
public function __construct(