projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0896cf4
)
Raise on usage of old function.
author
lain
<lain@soykaf.club>
Tue, 20 Nov 2018 19:14:38 +0000
(20:14 +0100)
committer
lain
<lain@soykaf.club>
Tue, 20 Nov 2018 19:14:38 +0000
(20:14 +0100)
lib/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index 03fe2f1d426d96fca1e764e07a70d9ceca358889..d6f61ac46b0da8ac950b87e1b94e1d010ad8951a 100644
(file)
--- a/
lib/pleroma/user.ex
+++ b/
lib/pleroma/user.ex
@@
-61,9
+61,7
@@
defmodule Pleroma.User do
end
def info_changeset(struct, params \\ %{}) do
- struct
- |> cast(params, [:info])
- |> validate_required([:info])
+ raise "NOT VALID ANYMORE"
end
def user_info(%User{} = user) do