mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-10 03:23:13 +00:00
[DS-2701-service-api-fix-legacy-id-support] Fix legacy identifier support for the community & removed some obsolete "getLegacyID()" methods
This commit is contained in:
@@ -664,6 +664,6 @@ public class CommunityServiceImpl extends DSpaceObjectServiceImpl<Community> imp
|
||||
|
||||
@Override
|
||||
public Community findByLegacyId(Context context, int id) throws SQLException {
|
||||
return communityDAO.findByID(context, Community.class, id);
|
||||
return communityDAO.findByLegacyId(context, id, Community.class);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user