application: fix up after_supervisor_start removal backport
authorAriadne Conill <ariadne@dereferenced.org>
Fri, 4 Oct 2019 16:15:54 +0000 (16:15 +0000)
committerAriadne Conill <ariadne@dereferenced.org>
Fri, 4 Oct 2019 16:15:54 +0000 (16:15 +0000)
lib/pleroma/application.ex

index 3b75bbe6a3b26614a35fdc55fa1c243cea2b20fb..9c95ce666ff1ef7f6eef63c4b506b92ca88cdb63 100644 (file)
@@ -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