Fix mix tasks failing on OTP releases
authorrinpatch <rinpatch@sdf.org>
Sun, 12 Apr 2020 15:49:31 +0000 (18:49 +0300)
committerrinpatch <rinpatch@sdf.org>
Sun, 12 Apr 2020 15:49:31 +0000 (18:49 +0300)
No idea why this was even added.
Closes #1678

lib/mix/pleroma.ex

index 4dfcc32e78cbf2a4c7c09b618435675949ff01ac..3ad6edbfbb659d5830d4abb2ce83d0e82b038b16 100644 (file)
@@ -5,7 +5,6 @@
 defmodule Mix.Pleroma do
   @doc "Common functions to be reused in mix tasks"
   def start_pleroma do
-    Mix.Task.run("app.start")
     Application.put_env(:phoenix, :serve_endpoints, false, persistent: true)
 
     if Pleroma.Config.get(:env) != :test do