mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-11 03:53:07 +00:00
DS-3914: Fix community defiliation
This fixes in issue in the defiliate method of the community filiator. The child and parent relations should be managed using the provided methods of the Community. This changes the visibility of Community.removeSubCommunity() to public, but Community.removeParentCommunity() was public before already.
This commit is contained in:
@@ -107,7 +107,7 @@ public class Community extends DSpaceObject implements DSpaceObjectLegacySupport
|
||||
setModified();
|
||||
}
|
||||
|
||||
void removeSubCommunity(Community subCommunity) {
|
||||
public void removeSubCommunity(Community subCommunity) {
|
||||
subCommunities.remove(subCommunity);
|
||||
setModified();
|
||||
}
|
||||
|
Reference in New Issue
Block a user