1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-15 15:07:20 +00:00

Remove unused param doer (#34545)

This commit is contained in:
Philip Peterson
2025-06-17 20:12:16 -07:00
committed by GitHub
parent dfea75371c
commit 08c634b7b7
16 changed files with 20 additions and 26 deletions

View File

@ -124,7 +124,7 @@ func ForkRepository(ctx context.Context, doer, owner *user_model.User, opts Fork
defer func() {
if err != nil {
// we can not use the ctx because it maybe canceled or timeout
cleanupRepository(doer, repo.ID)
cleanupRepository(repo.ID)
}
}()