actions.py: Rename get_realm_aliases() to get_realm_domains().

This commit is contained in:
Harshit Bansal
2017-03-31 17:46:43 +00:00
committed by Tim Abbott
parent 582d8a351f
commit 983225612d
4 changed files with 7 additions and 7 deletions

View File

@@ -3217,7 +3217,7 @@ def get_emails_from_user_ids(user_ids):
# We may eventually use memcached to speed this up, but the DB is fast.
return UserProfile.emails_from_ids(user_ids)
def get_realm_aliases(realm):
def get_realm_domains(realm):
# type: (Realm) -> List[Dict[str, Text]]
return list(realm.realmdomain_set.values('domain', 'allow_subdomains'))