Removed redundant function from tasks.py

Added Corp/Alliance name switching to base template.
Fixed logic error in corp application filtering for hrapplication views.
This commit is contained in:
Adarnof
2015-11-06 03:22:21 +00:00
parent 8f8bc57567
commit 2a05b42c01
3 changed files with 8 additions and 6 deletions

View File

@@ -23,9 +23,6 @@ from eveonline.models import EveCharacter
from eveonline.models import EveCorporationInfo
from authentication.managers import AuthServicesInfoManager
def generate_corp_group_name(corpname):
return 'Corp_' + corpname.replace(' ', '_')
def disable_alliance_member(user, char_id):
remove_member_permission(user, 'member')
remove_user_from_group(user, settings.DEFAULT_AUTH_GROUP)