diff options
author | href <href@random.sh> | 2018-11-06 11:34:34 +0100 |
---|---|---|
committer | href <href@random.sh> | 2018-11-06 15:12:53 +0100 |
commit | 2bc924ba451b1a324663133632093914192cec2d (patch) | |
tree | fbee2b582ce477f9db6f0dce5e9a7add4867902d /lib/pleroma/config.ex | |
parent | 0f6c4635a64e89cc72921456e6cfa3d488d894bf (diff) | |
download | pleroma-2bc924ba451b1a324663133632093914192cec2d.tar.gz |
Get rid of Pleroma.Config in favor of Application
Discussed in https://git.pleroma.social/pleroma/pleroma/merge_requests/426#note_7232
Diffstat (limited to 'lib/pleroma/config.ex')
-rw-r--r-- | lib/pleroma/config.ex | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/pleroma/config.ex b/lib/pleroma/config.ex deleted file mode 100644 index 510d8d498..000000000 --- a/lib/pleroma/config.ex +++ /dev/null @@ -1,15 +0,0 @@ -defmodule Pleroma.Config do - use Agent - - def start_link(initial) do - Agent.start_link(fn -> initial end, name: __MODULE__) - end - - def get(path) do - Agent.get(__MODULE__, Kernel, :get_in, [path]) - end - - def put(path, value) do - Agent.update(__MODULE__, Kernel, :put_in, [path, value]) - end -end |