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:
@ -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)
|
||||
}
|
||||
}()
|
||||
|
||||
|
Reference in New Issue
Block a user