mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-19 13:23:13 +00:00
Remove unused NotificationMailer#digest
preview (#25719)
This commit is contained in:
parent
cf33028f35
commit
d6b387a0c4
|
@ -32,9 +32,4 @@ class NotificationMailerPreview < ActionMailer::Preview
|
||||||
r = Status.where.not(reblog_of_id: nil).first
|
r = Status.where.not(reblog_of_id: nil).first
|
||||||
NotificationMailer.reblog(r.reblog.account, Notification.find_by(activity: r))
|
NotificationMailer.reblog(r.reblog.account, Notification.find_by(activity: r))
|
||||||
end
|
end
|
||||||
|
|
||||||
# Preview this email at http://localhost:3000/rails/mailers/notification_mailer/digest
|
|
||||||
def digest
|
|
||||||
NotificationMailer.digest(Account.first, since: 90.days.ago)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue