FIX: set upper limit on clean up invalid users (10 years)

Note... this setting is quite new so I am not adding a migration here to
clean up history. Instead next time users save the setting it will complain.

Also explicitly call out that the value 0 is special and used to disable
the job.
This commit is contained in:
Sam Saffron 2019-04-29 14:51:02 +10:00
parent 574f39f9d0
commit 5d96c5cb84
2 changed files with 3 additions and 1 deletions

View File

@ -1858,7 +1858,7 @@ en:
ignored_users_message_gap_days: "How long to wait before notifying moderators again about a user who has been ignored by many others."
clean_up_inactive_users_after_days: "Number of days before an inactive user (trust level 0 without any posts) is removed."
clean_up_inactive_users_after_days: "Number of days before an inactive user (trust level 0 without any posts) is removed. To disable clean up set to 0."
user_website_domains_whitelist: "User website will be verified against these domains. Pipe-delimited list."

View File

@ -552,6 +552,8 @@ users:
min: 1
clean_up_inactive_users_after_days:
default: 730
min: 0
max: 3650
groups:
enable_group_directory: