From: Ariadne Conill Date: Fri, 4 Oct 2019 16:15:54 +0000 (+0000) Subject: application: fix up after_supervisor_start removal backport X-Git-Url: http://git.squeep.com/?a=commitdiff_plain;h=17fed5ae528ffc10e726cd88d3ec48f9b2350169;p=akkoma application: fix up after_supervisor_start removal backport --- 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 @@ defmodule Pleroma.Application 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