management: Rename command reactivate_stream -> unarchive_stream.

This commit is contained in:
David Rosa
2023-09-18 17:01:43 -07:00
committed by Tim Abbott
parent 696287b0eb
commit cb123d4f15
3 changed files with 10 additions and 10 deletions

View File

@@ -158,7 +158,7 @@ def deactivated_streams_by_old_name(realm: Realm, stream_name: str) -> QuerySet[
@transaction.atomic(savepoint=False)
def do_reactivate_stream(
def do_unarchive_stream(
stream: Stream, new_name: str, *, acting_user: Optional[UserProfile]
) -> None:
realm = stream.realm