From c50b4ad8b84b66779ea62bce741c82df71774691 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Wed, 24 Sep 2014 12:56:01 -0300 Subject: [PATCH] Avoid infinite loop with person notification --- app/models/person_notifier.rb | 5 ----- 1 file changed, 0 insertions(+), 5 deletions(-) diff --git a/app/models/person_notifier.rb b/app/models/person_notifier.rb index 5e8febf..9edb78a 100644 --- a/app/models/person_notifier.rb +++ b/app/models/person_notifier.rb @@ -58,11 +58,6 @@ class PersonNotifier Person.find(person_id).notifier.notify end - def failure(job) - person = Person.find(person_id) - person.notifier.dispatch_notification_mail - end - end class Mailer < ActionMailer::Base -- libgit2 0.21.2