mirror of https://github.com/zulip/zulip.git
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:
parent
8b09118009
commit
726017f682
|
@ -2956,10 +2956,6 @@ def do_change_is_admin(user_profile: UserProfile, value: bool,
|
||||||
is_admin=value))
|
is_admin=value))
|
||||||
send_event(event, active_user_ids(user_profile.realm_id))
|
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,
|
def do_change_stream_invite_only(stream: Stream, invite_only: bool,
|
||||||
history_public_to_subscribers: Optional[bool]=None) -> None:
|
history_public_to_subscribers: Optional[bool]=None) -> None:
|
||||||
history_public_to_subscribers = get_default_value_for_history_public_to_subscribers(
|
history_public_to_subscribers = get_default_value_for_history_public_to_subscribers(
|
||||||
|
|
Loading…
Reference in New Issue