projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a173fb9
)
Rename wrongly-named function.
author
Roger Braun
<roger@rogerbraun.net>
Sun, 30 Apr 2017 13:06:22 +0000
(15:06 +0200)
committer
Roger Braun
<roger@rogerbraun.net>
Sun, 30 Apr 2017 13:06:22 +0000
(15:06 +0200)
lib/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index 2c297433a5e8452f0a14655a23fefb4581937f3e..58f89a915487ee8408a9b59ad0be6834eb6fea5f 100644
(file)
--- a/
lib/pleroma/user.ex
+++ b/
lib/pleroma/user.ex
@@
-123,7
+123,7
@@
defmodule Pleroma.User do
Cachex.get!(:user_cache, key, fallback: fn(_) -> Repo.get_by(User, nickname: nickname) end)
end
- def get_
cached_
by_nickname(nickname) do
+ def get_by_nickname(nickname) do
Repo.get_by(User, nickname: nickname)
end