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:
Rishi Gupta 2016-10-28 16:04:05 -07:00 committed by Tim Abbott
parent db0e509422
commit 70c29d8f90
1 changed files with 0 additions and 2 deletions

View File

@ -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)