diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-07-18 18:04:20 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-07-18 18:04:20 +0800 |
commit | 3922b803290ecccdb232c2c150ee249ba2b57c97 (patch) | |
tree | a05eb6d68525dcafb81be08c266e7b8c68dc9de1 /app | |
parent | ffc5b29bd0f02676bdc05ec6185d115d6705cd8f (diff) | |
download | gitlab-ce-3922b803290ecccdb232c2c150ee249ba2b57c97.tar.gz |
Rename the methods to make it fit with current name
Diffstat (limited to 'app')
-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 66c6ae4dacf..50790a710bb 100644 --- a/app/models/commit.rb +++ b/app/models/commit.rb @@ -172,7 +172,7 @@ class Commit def author User.find_by_any_email(author_email.downcase) end - request_store_wrap(:author) { author_email.downcase } + request_cache(:author) { author_email.downcase } def committer @committer ||= User.find_by_any_email(committer_email.downcase) |