Commit c50b4ad8b84b66779ea62bce741c82df71774691
1 parent
0cd81fcc
Exists in
staging
and in
4 other branches
Avoid infinite loop with person notification
Showing
1 changed file
with
0 additions
and
5 deletions
Show diff stats
app/models/person_notifier.rb
@@ -58,11 +58,6 @@ class PersonNotifier | @@ -58,11 +58,6 @@ class PersonNotifier | ||
58 | Person.find(person_id).notifier.notify | 58 | Person.find(person_id).notifier.notify |
59 | end | 59 | end |
60 | 60 | ||
61 | - def failure(job) | ||
62 | - person = Person.find(person_id) | ||
63 | - person.notifier.dispatch_notification_mail | ||
64 | - end | ||
65 | - | ||
66 | end | 61 | end |
67 | 62 | ||
68 | class Mailer < ActionMailer::Base | 63 | class Mailer < ActionMailer::Base |