Remove unused mailers.

This commit is contained in:
evazion
2019-08-06 10:42:45 -05:00
parent b0da649b09
commit 0c6d9f60bd
4 changed files with 0 additions and 27 deletions

View File

@@ -8,14 +8,6 @@ class UserMailer < ActionMailer::Base
mail(:to => "#{dmail.to.name} <#{dmail.to.email}>", :subject => "#{Danbooru.config.app_name} - Message received from #{dmail.from.name}")
end
def upgrade(user, email)
mail(:to => "#{user.name} <#{email}>", :subject => "#{Danbooru.config.app_name} account upgrade")
end
def upgrade_fail(email)
mail(:to => "#{user.name} <#{email}>", :subject => "#{Danbooru.config.app_name} account upgrade")
end
def forum_notice(user, forum_topic, forum_posts)
@user = user
@forum_topic = forum_topic

View File

@@ -1,7 +0,0 @@
class ReportMailer < ActionMailer::Base
default :host => Danbooru.config.server_host, :from => Danbooru.config.contact_email, :content_type => "text/html"
def moderator_report(email)
mail(:to => email, :subject => "#{Danbooru.config.app_name} - Moderator Report")
end
end

View File

@@ -1,6 +0,0 @@
<!doctype html>
<html>
<body>
<p>You can upgrade your account by sending $20 USD via Paypal to <%= mail_to Danbooru.config.upgrade_account_email %>. Be sure to include your username.</p>
</body>
</html>

View File

@@ -1,6 +0,0 @@
<!doctype html>
<html>
<body>
<p>Account upgrades are currently disabled.</p>
</body>
</html>