From: Roger Braun Date: Sun, 30 Apr 2017 13:06:22 +0000 (+0200) Subject: Rename wrongly-named function. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=eb12a89d22c09bccad7cb13780e0313de8be8e93;p=akkoma Rename wrongly-named function. --- diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 2c297433a..58f89a915 100644 --- 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