projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60c4ac0
)
dump_key/2 no longer used
author
Mark Felder
<feld@FreeBSD.org>
Thu, 3 Dec 2020 16:03:44 +0000
(10:03 -0600)
committer
Mark Felder
<feld@FreeBSD.org>
Thu, 3 Dec 2020 16:03:44 +0000
(10:03 -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 f4bb84a1387b4815ad08463065d243e5bf2a6cdd..137aef0387a60cf34d31efc94d492e1754cb5224 100644
(file)
--- a/
lib/mix/tasks/pleroma/config.ex
+++ b/
lib/mix/tasks/pleroma/config.ex
@@
-289,16
+289,6
@@
defmodule Mix.Tasks.Pleroma.Config do
shell_info("config #{inspect(config.group)}, #{inspect(config.key)}, #{value}\r\n\r\n")
end
- defp dump_key(group, key) when is_atom(group) and is_atom(key) do
- ConfigDB
- |> Repo.all()
- |> Enum.filter(fn x ->
- if x.group == group && x.key == key do
- x |> dump
- end
- end)
- end
-
defp dump_group(group) when is_atom(group) do
%{group: group}
|> ConfigDB.get_by_params()