More compact representation
This commit is contained in:
parent
3bf5c5b015
commit
9dfda37821
@ -344,9 +344,7 @@ defmodule Mix.Tasks.Pleroma.Config do
|
|||||||
check_configdb(fn ->
|
check_configdb(fn ->
|
||||||
group
|
group
|
||||||
|> Pleroma.ConfigDB.get_all_by_group()
|
|> Pleroma.ConfigDB.get_all_by_group()
|
||||||
|> Enum.each(fn config ->
|
|> Enum.each(&ConfigDB.delete/1)
|
||||||
Pleroma.ConfigDB.delete(%{group: config.group, key: config.key})
|
|
||||||
end)
|
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user