Raise on usage of old function.
authorlain <lain@soykaf.club>
Tue, 20 Nov 2018 19:14:38 +0000 (20:14 +0100)
committerlain <lain@soykaf.club>
Tue, 20 Nov 2018 19:14:38 +0000 (20:14 +0100)
lib/pleroma/user.ex

index 03fe2f1d426d96fca1e764e07a70d9ceca358889..d6f61ac46b0da8ac950b87e1b94e1d010ad8951a 100644 (file)
@@ -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