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_hellthread_threshold do
9 if Pleroma.Config.get([:mrf_hellthread, :threshold]) do
11 !!!DEPRECATION WARNING!!!
12 You are using the old configuration mechanism for the hellthread filter. Please check config.md.
18 check_hellthread_threshold()