fixes #2520: Automated janitor pruner should prune approvers, not janitors
This commit is contained in:
@@ -17,6 +17,8 @@ class JanitorPruner
|
||||
janitor_trial.demote!
|
||||
unknown_level = nil
|
||||
else
|
||||
user.can_approve_posts = false
|
||||
user.save
|
||||
user.promote_to!(User::Levels::PLATINUM, :skip_dmail => true)
|
||||
unknown_level = "\n\nYour previous user level was unknown so your user level has defaulted to Platinum. If you feel this to be in error please reply to this message with your original level."
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user