1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Config.DeprecationWarnings do
8 def check_frontend_config_mechanism() do
9 if Pleroma.Config.get(:fe) do
11 !!!DEPRECATION WARNING!!!
12 You are using the old configuration mechanism for the frontend. Please check config.md.
17 def check_hellthread_threshold do
18 if Pleroma.Config.get([:mrf_hellthread, :threshold]) do
20 !!!DEPRECATION WARNING!!!
21 You are using the old configuration mechanism for the hellthread filter. Please check config.md.
27 check_frontend_config_mechanism()
28 check_hellthread_threshold()