projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bf5c5b
)
More compact representation
author
Mark Felder
<feld@FreeBSD.org>
Fri, 4 Dec 2020 17:37:49 +0000
(11:37 -0600)
committer
Mark Felder
<feld@FreeBSD.org>
Fri, 4 Dec 2020 17:37:49 +0000
(11:37 -0600)
lib/mix/tasks/pleroma/config.ex
patch
|
blob
|
history
diff --git
a/lib/mix/tasks/pleroma/config.ex
b/lib/mix/tasks/pleroma/config.ex
index 99dfd0dc31874dd0a299d6d8f3e4200b8e7f0c44..25f1ca05d1ea3dfd80a75c5503d66bc7268ae2b2 100644
(file)
--- 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