mirror of https://github.com/zulip/zulip.git
do_create_realm: Remove "(open realm)" indication in sign-up message.
In preparation for a change to do_create_realm where we will use the database default for restricted_to_domain rather than computing it within do_create_realm, and due to which do_create_realm will no longer know whether we are creating an open realm or not.
This commit is contained in:
parent
db0e509422
commit
70c29d8f90
|
@ -2007,8 +2007,6 @@ system-generated notifications.""" % (product_name, notifications_stream.name,)
|
|||
|
||||
if settings.NEW_USER_BOT is not None:
|
||||
signup_message = "Signups enabled"
|
||||
if not restricted_to_domain:
|
||||
signup_message += " (open realm)"
|
||||
internal_send_message(settings.NEW_USER_BOT, "stream",
|
||||
"signups", string_id, signup_message)
|
||||
return (realm, created)
|
||||
|
|
Loading…
Reference in New Issue