Merge branch 'fix/mix-tasks-failing-otp' into 'develop'

Fix mix tasks failing on OTP releases

Closes #1678

See merge request pleroma/pleroma!2369
This commit is contained in:
rinpatch 2020-04-12 16:00:15 +00:00
commit 7ee35eb9a6
1 changed files with 0 additions and 1 deletions

View 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