summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-03-10 15:37:45 +0200
committerValery Sizov <vsv2711@gmail.com>2015-03-10 15:56:33 +0200
commit7499901c2421074b1730b8a803b9435a3f234506 (patch)
treec445cf6e3b2a44605befcd16c477ca6547370db9 /app/models/commit.rb
parente435e6b4a4100f1884088aa5a6156ce69304b473 (diff)
downloadgitlab-ci-7499901c2421074b1730b8a803b9435a3f234506.tar.gz
rename committer to pusher
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index 82e20f8..2e1bd52 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -93,7 +93,7 @@ class Commit < ActiveRecord::Base
def project_recipients
recipients = project.email_recipients.split(' ')
- if project.email_add_committer? && push_data[:user_email].present?
+ if project.email_add_pusher? && push_data[:user_email].present?
recipients << push_data[:user_email]
end