Raise on usage of old function.
This commit is contained in:
parent
0896cf4c0f
commit
d3180e0ccc
1 changed files with 1 additions and 3 deletions
|
@ -61,9 +61,7 @@ defmodule Pleroma.User do
|
||||||
end
|
end
|
||||||
|
|
||||||
def info_changeset(struct, params \\ %{}) do
|
def info_changeset(struct, params \\ %{}) do
|
||||||
struct
|
raise "NOT VALID ANYMORE"
|
||||||
|> cast(params, [:info])
|
|
||||||
|> validate_required([:info])
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def user_info(%User{} = user) do
|
def user_info(%User{} = user) do
|
||||||
|
|
Loading…
Reference in a new issue