From: Mark Felder Date: Fri, 4 Dec 2020 17:37:49 +0000 (-0600) Subject: More compact representation X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=9dfda37821d663c4b2f8e113336a517d694abee0;p=akkoma More compact representation --- diff --git a/lib/mix/tasks/pleroma/config.ex b/lib/mix/tasks/pleroma/config.ex index 99dfd0dc3..25f1ca05d 100644 --- a/lib/mix/tasks/pleroma/config.ex +++ b/lib/mix/tasks/pleroma/config.ex @@ -344,9 +344,7 @@ defmodule Mix.Tasks.Pleroma.Config do check_configdb(fn -> group |> Pleroma.ConfigDB.get_all_by_group() - |> Enum.each(fn config -> - Pleroma.ConfigDB.delete(%{group: config.group, key: config.key}) - end) + |> Enum.each(&ConfigDB.delete/1) end) end