forked from forgejo/forgejo
Backport #30406 Fix #30378 (cherry picked from commit 55990ebf9240fced8c58491521fc21bf4a4d8f23) Conflicts: services/user/delete.go trivial context conflict because of `[MODERATION] User blocking`
This commit is contained in:
parent
fd47240545
commit
cb8ec2287f
4 changed files with 19 additions and 0 deletions
|
@ -164,6 +164,7 @@ func DeleteRepositoryDirectly(ctx context.Context, doer *user_model.User, uid, r
|
|||
&actions_model.ActionScheduleSpec{RepoID: repoID},
|
||||
&actions_model.ActionSchedule{RepoID: repoID},
|
||||
&actions_model.ActionArtifact{RepoID: repoID},
|
||||
&actions_model.ActionRunnerToken{RepoID: repoID},
|
||||
); err != nil {
|
||||
return fmt.Errorf("deleteBeans: %w", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue