group with no member

s7
Tera Contributor

 

1) Groups with no members should include the group manager as a member.

2) Deactivate the group if there are no members or group managers.

 

Please help me in code.