WebGUI::User->isInGroup does not take a UID argument anymore.
Grepped all files and fixed these errors: - Passed userId replaced by User object creation and use. - Where $session->user->userId was used, it was removed. Updated POD inside Group.pm
This commit is contained in:
parent
5c00dfcfda
commit
f59f41cd9e
4 changed files with 10 additions and 8 deletions
|
|
@ -65,7 +65,7 @@ This package provides an object-oriented way of managing WebGUI groups and group
|
|||
$arrayRef = $self->session->user->getGroups($userId);
|
||||
$arrayRef = $group->getGroupsIn($recursive);
|
||||
$arrayRef = $group->getUsers($groupId);
|
||||
$boolean = $self->session->user->isInGroup($groupId, $userId);
|
||||
$boolean = $self->session->user->isInGroup($groupId);
|
||||
$boolean = $group->userIsAdmin($userId,$groupId);
|
||||
$epoch = $group->userGroupExpireDate($userId,$groupId);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue