diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-03-10 15:37:45 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-03-10 15:56:33 +0200 |
commit | 7499901c2421074b1730b8a803b9435a3f234506 (patch) | |
tree | c445cf6e3b2a44605befcd16c477ca6547370db9 /app/models/commit.rb | |
parent | e435e6b4a4100f1884088aa5a6156ce69304b473 (diff) | |
download | gitlab-ci-7499901c2421074b1730b8a803b9435a3f234506.tar.gz |
rename committer to pusher
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r-- | app/models/commit.rb | 2 |
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 |