refactor: Make acting_user a mandatory kwarg for do_set_realm_property.

This commit is contained in:
shanukun
2021-03-01 16:03:24 +05:30
committed by Tim Abbott
parent a2da736181
commit 459710a897
22 changed files with 215 additions and 90 deletions

View File

@@ -232,7 +232,10 @@ def stdout_suppressed() -> Iterator[IO[str]]:
def reset_emails_in_zulip_realm() -> None:
realm = get_realm("zulip")
do_set_realm_property(
realm, "email_address_visibility", Realm.EMAIL_ADDRESS_VISIBILITY_EVERYONE
realm,
"email_address_visibility",
Realm.EMAIL_ADDRESS_VISIBILITY_EVERYONE,
acting_user=None,
)