From f53d464db0194eb66557b00c7d92b9df8c798ada Mon Sep 17 00:00:00 2001 From: lain Date: Mon, 28 Jan 2019 14:39:54 +0100 Subject: [PATCH] Put deprecation warnings undre Pleroma.Config. --- lib/pleroma/application.ex | 2 +- lib/pleroma/{ => config}/deprecation_warnings.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename lib/pleroma/{ => config}/deprecation_warnings.ex (91%) 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 -- 2.45.2