actions.py: Rename do_change_realm_alias() to do_change_realm_domain().

This commit is contained in:
Harshit Bansal
2017-03-31 17:57:46 +00:00
committed by Tim Abbott
parent 2da4fc0dc4
commit a08155b09e
4 changed files with 9 additions and 9 deletions

View File

@@ -3231,7 +3231,7 @@ def do_add_realm_domain(realm, domain, allow_subdomains):
send_event(event, active_user_ids(realm))
return alias
def do_change_realm_alias(alias, allow_subdomains):
def do_change_realm_domain(alias, allow_subdomains):
# type: (RealmDomain, bool) -> None
alias.allow_subdomains = allow_subdomains
alias.save(update_fields=['allow_subdomains'])