projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'legacy-fe-config' into 'develop'
[akkoma]
/
lib
/
pleroma
/
config
/
deprecation_warnings.ex
diff --git
a/lib/pleroma/config/deprecation_warnings.ex
b/lib/pleroma/config/deprecation_warnings.ex
index 7451fd0a7675d8c63b1ab10e398b34462eb7721f..240fb1c371a0256c1106daf2cd269cff08b45251 100644
(file)
--- a/
lib/pleroma/config/deprecation_warnings.ex
+++ b/
lib/pleroma/config/deprecation_warnings.ex
@@
-5,15
+5,6
@@
defmodule Pleroma.Config.DeprecationWarnings do
require Logger
defmodule Pleroma.Config.DeprecationWarnings do
require Logger
- def check_frontend_config_mechanism() do
- if Pleroma.Config.get(:fe) do
- Logger.warn("""
- !!!DEPRECATION WARNING!!!
- You are using the old configuration mechanism for the frontend. Please check config.md.
- """)
- end
- end
-
def check_hellthread_threshold do
if Pleroma.Config.get([:mrf_hellthread, :threshold]) do
Logger.warn("""
def check_hellthread_threshold do
if Pleroma.Config.get([:mrf_hellthread, :threshold]) do
Logger.warn("""
@@
-24,7
+15,6
@@
defmodule Pleroma.Config.DeprecationWarnings do
end
def warn do
end
def warn do
- check_frontend_config_mechanism()
check_hellthread_threshold()
end
end
check_hellthread_threshold()
end
end