Enable trust level 3 promotion/demotion job

This commit is contained in:
Neil Lalonde 2014-07-01 17:33:54 -04:00
parent 1f829c4e70
commit 3f16e1e335

View file

@ -4,8 +4,6 @@ module Jobs
daily at: 4.hours
def execute(args)
return unless Rails.env.test? # do nothing for now
# Demotions
demoted_user_ids = []
User.real.where(trust_level: TrustLevel.levels[:leader]).find_each do |u|