mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Enable trust level 3 promotion/demotion job
This commit is contained in:
parent
1f829c4e70
commit
3f16e1e335
1 changed files with 0 additions and 2 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue