mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
refactor: Make acting_user a mandatory kwarg for do_set_realm_property.
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user