merged WebGUI::Groupings with WebGUI::Group and WebGUI::User
changed WebGUI::Group api to work with the new session api
This commit is contained in:
parent
8071a041fa
commit
c74c1bdcbc
55 changed files with 866 additions and 994 deletions
|
|
@ -619,7 +619,7 @@ Returns an array reference containing all groupIds of groups the user is in.
|
|||
sub _getGroups {
|
||||
my @groups;
|
||||
foreach my $groupId ($self->session->db->buildArray("select groupId from groups")) {
|
||||
push(@groups, $groupId) if (WebGUI::Grouping::isInGroup($groupId));
|
||||
push(@groups, $groupId) if ($self->session->user->isInGroup($groupId));
|
||||
}
|
||||
return \@groups;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue