mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: send the queued posts reminder as a message to moderators instead of an email to the contact_email
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
require_dependency 'email/message_builder'
|
||||
|
||||
class PendingQueuedPostsMailer < ActionMailer::Base
|
||||
include Email::BuildEmailHelper
|
||||
|
||||
def notify(opts = {})
|
||||
return unless SiteSetting.contact_email
|
||||
build_email(SiteSetting.contact_email, template: 'queued_posts_reminder', count: opts[:count])
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user