From: lain Date: Tue, 20 Nov 2018 19:14:38 +0000 (+0100) Subject: Raise on usage of old function. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=d3180e0ccc6608c0b3cc8fe552ef52cf2a49d26c;p=akkoma Raise on usage of old function. --- diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 03fe2f1d4..d6f61ac46 100644 --- 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