mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-12 04:23:13 +00:00
w2p-80200 Tests for no force export and fix to spy on authorize service
This commit is contained in:
@@ -412,11 +412,8 @@ public class CommunityServiceImpl extends DSpaceObjectServiceImpl<Community> imp
|
||||
authorizeService.authorizeAction(context, parentCommunity, Constants.ADD);
|
||||
|
||||
Community c;
|
||||
if (uuid != null) {
|
||||
c = create(parentCommunity, context, handle, uuid);
|
||||
} else {
|
||||
c = create(parentCommunity, context, handle);
|
||||
}
|
||||
c = create(parentCommunity, context, handle, uuid);
|
||||
|
||||
addSubcommunity(context, parentCommunity, c);
|
||||
|
||||
return c;
|
||||
|
Reference in New Issue
Block a user