Put deprecation warnings undre Pleroma.Config.
authorlain <lain@soykaf.club>
Mon, 28 Jan 2019 13:39:54 +0000 (14:39 +0100)
committerlain <lain@soykaf.club>
Mon, 28 Jan 2019 13:39:54 +0000 (14:39 +0100)
lib/pleroma/application.ex
lib/pleroma/config/deprecation_warnings.ex [moved from lib/pleroma/deprecation_warnings.ex with 91% similarity]

index aa46bcbc44b1df408322a647acc27e0e58d72860..31f2605b8825f97c33276f55f95ba554aae0385a 100644 (file)
@@ -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 =
similarity index 91%
rename from lib/pleroma/deprecation_warnings.ex
rename to lib/pleroma/config/deprecation_warnings.ex
index abb649919f0b7ee7c5b7d1026fcfb2ae4bc1c772..dc50682eed19cf09b6c5805929a3d119202ce55d 100644 (file)
@@ -2,7 +2,7 @@
 # Copyright © 2017-2019 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
-defmodule Pleroma.DeprecationWarnings do
+defmodule Pleroma.Config.DeprecationWarnings do
   require Logger
 
   def check_frontend_config_mechanism() do