From 6f174cbb7100bc5ae6a0eba4e7e926704ee11dc3 Mon Sep 17 00:00:00 2001 From: rinpatch Date: Sat, 1 Dec 2018 18:34:26 +0300 Subject: [PATCH] Delete reactivate user task --- lib/mix/tasks/reactivate_user.ex | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 lib/mix/tasks/reactivate_user.ex 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