enable janitor trial invite system, fix typo

This commit is contained in:
r888888888
2015-08-04 17:42:19 -07:00
parent 2042d11487
commit 4a367b92ef
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
class MonthlyMaintenance
def run
ActiveRecord::Base.connection.execute("set statement_timeout = 0")
# JanitorTrial.message_candidates!
JanitorTrial.message_candidates!
end
end

View File

@@ -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