create pac-domain
This commit is contained in:
parent
d8268ddb71
commit
264870dec3
@ -100,12 +100,13 @@ public class PacModuleImpl extends AbstractModuleImpl {
|
||||
if (maxUid >= nUID) nUID = maxUid + 1;
|
||||
admin.setUserId(nUID);
|
||||
users.add(admin);
|
||||
AbstractEntity newPacEntity = super.add(newEntity);
|
||||
GenericModuleImpl helperModule = new GenericModuleImpl(getTransaction());
|
||||
Domain pacDomain = new Domain();
|
||||
pacDomain.setName(pac.getName() + ".hostsharing.net");
|
||||
pacDomain.setUser(admin);
|
||||
helperModule.add(pacDomain);
|
||||
return super.add(newEntity);
|
||||
return newPacEntity;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user