mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-13 17:47:28 -06:00
[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:
parent
e2e2bedd42
commit
8c20ccd9a8
3 changed files with 15 additions and 59 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue