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:
Colin Kuskie 2006-03-15 22:55:00 +00:00
parent 5c00dfcfda
commit f59f41cd9e
4 changed files with 10 additions and 8 deletions

View file

@ -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);