mirror of https://github.com/zulip/zulip.git
realm_settings: Remove 'enable_spectator_access' from update_fields.
In 'do_change_realm_plan_type' function we use 'do_set_realm_property'
to set 'enable_spectator_access' to False.
There is no need to again update that field.
This change was included in d2f2fbf6b9
.
This commit is contained in:
parent
d3987f611c
commit
276648ef87
|
@ -784,13 +784,7 @@ def do_change_realm_plan_type(
|
||||||
|
|
||||||
update_first_visible_message_id(realm)
|
update_first_visible_message_id(realm)
|
||||||
|
|
||||||
realm.save(
|
realm.save(update_fields=["_max_invites", "message_visibility_limit"])
|
||||||
update_fields=[
|
|
||||||
"_max_invites",
|
|
||||||
"enable_spectator_access",
|
|
||||||
"message_visibility_limit",
|
|
||||||
]
|
|
||||||
)
|
|
||||||
|
|
||||||
event = {
|
event = {
|
||||||
"type": "realm",
|
"type": "realm",
|
||||||
|
|
Loading…
Reference in New Issue