Page MenuHomePhorge

No OneTemporary

Size
524 B
Referenced Files
None
Subscribers
None
diff --git a/lib/pleroma/config.ex b/lib/pleroma/config.ex
index 1bc371dec..9c1b66a12 100644
--- a/lib/pleroma/config.ex
+++ b/lib/pleroma/config.ex
@@ -79,7 +79,11 @@ defmodule Pleroma.Config do
|> get()
|> get_and_update_in(keys, fn _ -> :pop end)
- Application.put_env(:pleroma, parent_key, parent)
+ if parent == [] or parent == %{} do
+ Application.delete_env(:pleroma, parent_key)
+ else
+ Application.put_env(:pleroma, parent_key, parent)
+ end
end
end

File Metadata

Mime Type
text/x-diff
Expires
Mon, Jul 20, 3:31 PM (57 m, 57 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1695547
Default Alt Text
(524 B)

Event Timeline