From 3c8892aba95de75edb2d0353b2b2a2e89aae4ca3 Mon Sep 17 00:00:00 2001 From: Andrew Avenoso Date: Mon, 31 Oct 2011 16:53:13 -0300 Subject: [PATCH] deploy emails were not being sent if the app was configured to notify all users --- app/models/deploy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/deploy.rb b/app/models/deploy.rb index a453b61..45b45f5 100644 --- a/app/models/deploy.rb +++ b/app/models/deploy.rb @@ -33,7 +33,7 @@ class Deploy protected def should_notify? - app.notify_on_deploys? && app.watchers.any? + app.notify_on_deploys? && app.notification_recipients.any? end def should_resolve_app_errs? -- libgit2 0.21.2