forked from AkkomaGang/akkoma
More compact representation
This commit is contained in:
parent
3bf5c5b015
commit
9dfda37821
1 changed files with 1 additions and 3 deletions
|
@ -344,9 +344,7 @@ defp delete_group(group) 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue