mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 09:42:41 +01:00
[GITEA] notifies admins on new user registration (squash) DeleteByID
trivial conflict because of778ad795fd
Refactor deletion (#28610) (cherry picked from commit05682614e5
) (cherry picked from commit64bd374803
)
This commit is contained in:
parent
63b9b624bd
commit
63d086f666
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ func getTestUsers(t *testing.T) []*user_model.User {
|
|||
|
||||
func cleanUpUsers(ctx context.Context, users []*user_model.User) {
|
||||
for _, u := range users {
|
||||
db.DeleteByID(ctx, u.ID, new(user_model.User))
|
||||
db.DeleteByID[user_model.User](ctx, u.ID)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue