mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 23:43:06 +00:00
DS-3572: Renamed epersonInGroup to isEPersonInGroup
This commit is contained in:

committed by
Pascal-Nicolas Becker

parent
59087eed9b
commit
f148fb3de5
@@ -190,7 +190,7 @@ public class GroupServiceImpl extends DSpaceObjectServiceImpl<Group> implements
|
||||
//If we have an ePerson, check we can find membership in the database
|
||||
if(ePerson != null) {
|
||||
//lookup eperson in normal groups and subgroups with 1 query
|
||||
isMember = epersonInGroup(context, group.getName(), ePerson);
|
||||
isMember = isEPersonInGroup(context, group.getName(), ePerson);
|
||||
}
|
||||
|
||||
//If we did not find the group membership in the database, check the special groups.
|
||||
@@ -539,7 +539,7 @@ public class GroupServiceImpl extends DSpaceObjectServiceImpl<Group> implements
|
||||
|
||||
|
||||
|
||||
protected boolean epersonInGroup(Context context, String groupName, EPerson ePerson)
|
||||
protected boolean isEPersonInGroup(Context context, String groupName, EPerson ePerson)
|
||||
throws SQLException
|
||||
{
|
||||
return groupDAO.findByNameAndMembership(context, groupName, ePerson) != null;
|
||||
|
Reference in New Issue
Block a user