Added auto corp group creation and addition

This commit is contained in:
Raynaldo Rivera
2014-10-12 13:44:16 -07:00
parent eed40b3983
commit 69b3b30f6a
2 changed files with 9 additions and 1 deletions

View File

@@ -32,3 +32,7 @@ def deactivate_services(user):
if authinfo.forum_username != "":
ForumManager.disable_user(authinfo.forum_username)
AuthServicesInfoManager.update_user_forum_info("", "", user)
def generate_corp_group_name(corpname):
return 'Corp_'+corpname.replace(' ','_')