From: lain Date: Mon, 28 Jan 2019 13:39:54 +0000 (+0100) Subject: Put deprecation warnings undre Pleroma.Config. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f53d464db0194eb66557b00c7d92b9df8c798ada;p=akkoma Put deprecation warnings undre Pleroma.Config. --- diff --git a/lib/pleroma/application.ex b/lib/pleroma/application.ex index aa46bcbc4..31f2605b8 100644 --- a/lib/pleroma/application.ex +++ b/lib/pleroma/application.ex @@ -22,7 +22,7 @@ defmodule Pleroma.Application do def start(_type, _args) do import Cachex.Spec - Pleroma.DeprecationWarnings.warn() + Pleroma.Config.DeprecationWarnings.warn() # Define workers and child supervisors to be supervised children = diff --git a/lib/pleroma/deprecation_warnings.ex b/lib/pleroma/config/deprecation_warnings.ex similarity index 91% rename from lib/pleroma/deprecation_warnings.ex rename to lib/pleroma/config/deprecation_warnings.ex index abb649919..dc50682ee 100644 --- a/lib/pleroma/deprecation_warnings.ex +++ b/lib/pleroma/config/deprecation_warnings.ex @@ -2,7 +2,7 @@ # Copyright © 2017-2019 Pleroma Authors # SPDX-License-Identifier: AGPL-3.0-only -defmodule Pleroma.DeprecationWarnings do +defmodule Pleroma.Config.DeprecationWarnings do require Logger def check_frontend_config_mechanism() do