Author: mflorea Date: 2008-01-04 12:04:23 +0100 (Fri, 04 Jan 2008) New Revision: 6622
Modified: xwiki-products/curriki/trunk/plugins/spacemanager/src/main/java/org/xwiki/plugin/spacemanager/impl/SpaceManagerImpl.java Log: Create space user profile for the creator of the space Modified: xwiki-products/curriki/trunk/plugins/spacemanager/src/main/java/org/xwiki/plugin/spacemanager/impl/SpaceManagerImpl.java =================================================================== --- xwiki-products/curriki/trunk/plugins/spacemanager/src/main/java/org/xwiki/plugin/spacemanager/impl/SpaceManagerImpl.java 2008-01-04 10:09:22 UTC (rev 6621) +++ xwiki-products/curriki/trunk/plugins/spacemanager/src/main/java/org/xwiki/plugin/spacemanager/impl/SpaceManagerImpl.java 2008-01-04 11:04:23 UTC (rev 6622) @@ -349,7 +349,7 @@ } // we need to add the creator as a member and as an admin addAdmin(newspace.getSpaceName(), context.getUser(), context); - addMember(newspace.getSpaceName(), context.getUser(), context); + joinSpace(newspace.getSpaceName(), context); return newspace; } _______________________________________________ notifications mailing list notifications@xwiki.org http://lists.xwiki.org/mailman/listinfo/notifications