From: rinpatch Date: Sat, 1 Dec 2018 15:34:26 +0000 (+0300) Subject: Delete reactivate user task X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=6f174cbb7100bc5ae6a0eba4e7e926704ee11dc3;p=akkoma Delete reactivate user task --- diff --git a/lib/mix/tasks/reactivate_user.ex b/lib/mix/tasks/reactivate_user.ex deleted file mode 100644 index a30d3ac8b..000000000 --- a/lib/mix/tasks/reactivate_user.ex +++ /dev/null @@ -1,19 +0,0 @@ -defmodule Mix.Tasks.ReactivateUser do - use Mix.Task - alias Pleroma.User - - @moduledoc """ - Reactivate a user - - Usage: ``mix reactivate_user `` - - Example: ``mix reactivate_user lain`` - """ - def run([nickname]) do - Mix.Task.run("app.start") - - with user <- User.get_by_nickname(nickname) do - User.deactivate(user, false) - end - end -end