mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
actions.py: Rename do_add_realm_alias() to do_add_realm_domain().
This commit is contained in:
committed by
Tim Abbott
parent
983225612d
commit
2da4fc0dc4
@@ -3221,7 +3221,7 @@ def get_realm_domains(realm):
|
||||
# type: (Realm) -> List[Dict[str, Text]]
|
||||
return list(realm.realmdomain_set.values('domain', 'allow_subdomains'))
|
||||
|
||||
def do_add_realm_alias(realm, domain, allow_subdomains):
|
||||
def do_add_realm_domain(realm, domain, allow_subdomains):
|
||||
# type: (Realm, Text, bool) -> (RealmDomain)
|
||||
alias = RealmDomain.objects.create(realm=realm, domain=domain,
|
||||
allow_subdomains=allow_subdomains)
|
||||
|
||||
Reference in New Issue
Block a user