diff --git a/app/logical/monthly_maintenance.rb b/app/logical/monthly_maintenance.rb index a1b7c6c96..b7c5959bb 100644 --- a/app/logical/monthly_maintenance.rb +++ b/app/logical/monthly_maintenance.rb @@ -1,6 +1,6 @@ class MonthlyMaintenance def run ActiveRecord::Base.connection.execute("set statement_timeout = 0") - # JanitorTrial.message_candidates! + JanitorTrial.message_candidates! end end diff --git a/app/models/janitor_trial.rb b/app/models/janitor_trial.rb index 6e8aeb4ca..de2e6a096 100644 --- a/app/models/janitor_trial.rb +++ b/app/models/janitor_trial.rb @@ -39,7 +39,7 @@ class JanitorTrial < ActiveRecord::Base Janitors on #{Danbooru.config.app_name} are responsible for helping maintain a high level of quality on the site. They approve uploads from other users and help with other moderation efforts. You would be expected at a minimum to approve a few posts a week. If you are interested, please respond to this message. EOS - Dmail.create_split(:title => "Test Janitor Invitation", :body => body, :to_id => user_id, :from_id => admin.id) + Dmail.create_split(:title => "Test Janitor Invitation", :body => body, :to_id => user.id) end end end