Do not check if actor is active when deleting a user
This commit is contained in:
parent
dfae61c25c
commit
2b94ae3b39
8 changed files with 34 additions and 34 deletions
|
|
@ -176,7 +176,7 @@ defmodule Mix.Tasks.Pleroma.User do
|
|||
start_pleroma()
|
||||
|
||||
with %User{local: true} = user <- User.get_cached_by_nickname(nickname) do
|
||||
User.perform(:delete, user, nil)
|
||||
User.perform(:delete, user)
|
||||
shell_info("User #{nickname} deleted.")
|
||||
else
|
||||
_ ->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue