summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2018-09-17 14:36:22 +0100
committerNick Thomas <nick@gitlab.com>2018-09-17 14:36:22 +0100
commite35fc8b9299e7bd257e00601f206e2670c559651 (patch)
tree567b5c03ef7bd74fdaa1489c8af1efc5e9cb4c59 /app/models
parent3c5c658a27d1dfe4abf6469f35776b78f2169d81 (diff)
downloadgitlab-ce-e35fc8b9299e7bd257e00601f206e2670c559651.tar.gz
Use commit email for wiki actions
Diffstat (limited to 'app/models')
-rw-r--r--app/models/project_wiki.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_wiki.rb b/app/models/project_wiki.rb
index f4b3421f04b..d3c6312baf2 100644
--- a/app/models/project_wiki.rb
+++ b/app/models/project_wiki.rb
@@ -188,7 +188,7 @@ class ProjectWiki
Gitlab::Git::Wiki::CommitDetails.new(@user.id,
@user.username,
@user.name,
- @user.email,
+ @user.commit_email,
commit_message)
end