[chore] Remove unused admin account suspend action (#1047)

* [docs] clarify that admin account commands are for local accounts

* [chore] remove confusing unused `admin account suspend` command
This commit is contained in:
tobi 2022-11-14 16:51:53 +01:00 committed by GitHub
commit 8c20ccd9a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 59 deletions

View file

@ -232,12 +232,6 @@ var Disable action.GTSAction = func(ctx context.Context) error {
return dbConn.Stop(ctx)
}
// Suspend suspends the target account, cleanly removing all of its media, followers, following, likes, statuses, etc.
var Suspend action.GTSAction = func(ctx context.Context) error {
// TODO
return nil
}
// Password sets the password of target account.
var Password action.GTSAction = func(ctx context.Context) error {
dbConn, err := bundb.NewBunDBService(ctx)