fix: 删除配置 PERIOD_TASK_ENABLED

pull/6852/head
Michael Bai 2021-09-14 17:36:57 +08:00 committed by Jiangjie.Bai
parent c14c89a758
commit 07cd930c0e
1 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,6 @@ class OtherSettingSerializer(serializers.Serializer):
)
OTP_VALID_WINDOW = serializers.IntegerField(label=_("OTP valid window"))
PERIOD_TASK_ENABLED = serializers.BooleanField(required=False, label=_("Enable period task"))
WINDOWS_SSH_DEFAULT_SHELL = serializers.ChoiceField(
choices=[
('cmd', _("CMD")),
@ -28,4 +27,8 @@ class OtherSettingSerializer(serializers.Serializer):
required=False, label=_("Perm single to ungroup node")
)
# 准备废弃
# PERIOD_TASK_ENABLED = serializers.BooleanField(
# required=False, label=_("Enable period task")
# )