Remove unused mailers.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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>
|
||||
@@ -1,6 +0,0 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<body>
|
||||
<p>Account upgrades are currently disabled.</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user