diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-03 10:06:31 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-04-03 10:06:31 +0300 |
commit | 413a310faa17f626f351fa3afd6423e8782935a9 (patch) | |
tree | 290a418a9750d66fd43282b0a51157abb4eef7a2 /app/workers | |
parent | 7e8bf92bd77f5a63802c87bfbb6282a17a43c691 (diff) | |
download | gitlab-ce-413a310faa17f626f351fa3afd6423e8782935a9.tar.gz |
fixed blame and mr factory
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/post_receive.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/post_receive.rb b/app/workers/post_receive.rb index 72cef0fd295..132f1a6d7e9 100644 --- a/app/workers/post_receive.rb +++ b/app/workers/post_receive.rb @@ -23,7 +23,7 @@ class PostReceive user = if identifier.blank? # Local push from gitlab - email = project.repository.commit(newrev).author.email rescue nil + email = project.repository.commit(newrev).author_email rescue nil User.find_by_email(email) if email elsif identifier =~ /\Auser-\d+\Z/ |