mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-13 04:53:16 +00:00
[DS-643] New testing framework (GSoC 2010)
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5252 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -203,7 +203,11 @@ public class Community extends DSpaceObject
|
||||
TableRow row = DatabaseManager.create(context, "community");
|
||||
Community c = new Community(context, row);
|
||||
c.handle = HandleManager.createHandle(context, c);
|
||||
|
||||
if(parent != null)
|
||||
{
|
||||
parent.addSubcommunity(c);
|
||||
}
|
||||
|
||||
// create the default authorization policy for communities
|
||||
// of 'anonymous' READ
|
||||
Group anonymousGroup = Group.find(context, 0);
|
||||
|
Reference in New Issue
Block a user