summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2017-07-18 18:04:20 +0800
committerLin Jen-Shin <godfat@godfat.org>2017-07-18 18:04:20 +0800
commit3922b803290ecccdb232c2c150ee249ba2b57c97 (patch)
treea05eb6d68525dcafb81be08c266e7b8c68dc9de1 /app/models/commit.rb
parentffc5b29bd0f02676bdc05ec6185d115d6705cd8f (diff)
downloadgitlab-ce-3922b803290ecccdb232c2c150ee249ba2b57c97.tar.gz
Rename the methods to make it fit with current name
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 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)