mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
settings: Remove conditions for dense_mode setting.
This commit is contained in:
@@ -709,19 +709,6 @@ class SystemGroupRequiredError(JsonableError):
|
||||
return _("'{setting_name}' must be a system user group.")
|
||||
|
||||
|
||||
class IncompatibleParameterValuesError(JsonableError):
|
||||
data_fields = ["first_parameter", "second_parameter"]
|
||||
|
||||
def __init__(self, first_parameter: str, second_parameter: str) -> None:
|
||||
self.first_parameter = first_parameter
|
||||
self.second_parameter = second_parameter
|
||||
|
||||
@staticmethod
|
||||
@override
|
||||
def msg_format() -> str:
|
||||
return _("Incompatible values for '{first_parameter}' and '{second_parameter}'.")
|
||||
|
||||
|
||||
class CannotDeactivateGroupInUseError(JsonableError):
|
||||
code = ErrorCode.CANNOT_DEACTIVATE_GROUP_IN_USE
|
||||
data_fields = ["objections"]
|
||||
|
||||
Reference in New Issue
Block a user