Fix mix tasks failing on OTP releases

No idea why this was even added.
Closes #1678
Tento commit je obsažen v:
rinpatch 2020-04-12 18:49:31 +03:00
rodič fc4f92c5de
revize 2ba754ffe1

Zobrazit soubor

@ -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