actions: Remove dead do_change_bot_type function.

This is a tiny fraction of a feature we don't support, so we should
just kill it.
This commit is contained in:
Tim Abbott 2018-05-13 17:58:49 -07:00
parent 8b09118009
commit 726017f682
1 changed files with 0 additions and 4 deletions

View File

@ -2956,10 +2956,6 @@ def do_change_is_admin(user_profile: UserProfile, value: bool,
is_admin=value))
send_event(event, active_user_ids(user_profile.realm_id))
def do_change_bot_type(user_profile: UserProfile, value: int) -> None:
user_profile.bot_type = value
user_profile.save(update_fields=["bot_type"])
def do_change_stream_invite_only(stream: Stream, invite_only: bool,
history_public_to_subscribers: Optional[bool]=None) -> None:
history_public_to_subscribers = get_default_value_for_history_public_to_subscribers(