From 17fed5ae528ffc10e726cd88d3ec48f9b2350169 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 4 Oct 2019 16:15:54 +0000 Subject: [PATCH] application: fix up after_supervisor_start removal backport --- lib/pleroma/application.ex | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/pleroma/application.ex b/lib/pleroma/application.ex index 3b75bbe6a..9c95ce666 100644 --- a/lib/pleroma/application.ex +++ b/lib/pleroma/application.ex @@ -56,9 +56,7 @@ def start(_type, _args) do # See http://elixir-lang.org/docs/stable/elixir/Supervisor.html # for other strategies and supported options opts = [strategy: :one_for_one, name: Pleroma.Supervisor] - result = Supervisor.start_link(children, opts) - :ok = after_supervisor_start() - result + Supervisor.start_link(children, opts) end defp setup_instrumenters do