2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-12 21:10:47 +08:00

FEATURE: don't demote trust level 3 users who were promoted less than SiteSetting.leader_promotion_min_duration days ago

This commit is contained in:
Neil Lalonde 2014-07-08 17:39:36 -04:00
parent 04e5c59598
commit df8b25d2f5
9 changed files with 63 additions and 10 deletions

View file

@ -25,7 +25,8 @@ class UserHistory < ActiveRecord::Base
:unsuspend_user,
:facebook_no_email,
:grant_badge,
:revoke_badge)
:revoke_badge,
:auto_trust_level_change)
end

# Staff actions is a subset of all actions, used to audit actions taken by staff users.