@@ -15,7 +15,6 @@ import (
1515 issues_model "code.gitea.io/gitea/models/issues"
1616 repo_model "code.gitea.io/gitea/models/repo"
1717 user_model "code.gitea.io/gitea/models/user"
18- "code.gitea.io/gitea/modules/cache"
1918 "code.gitea.io/gitea/modules/git"
2019 "code.gitea.io/gitea/modules/gitrepo"
2120 "code.gitea.io/gitea/modules/log"
@@ -178,8 +177,6 @@ func SignWikiCommit(ctx context.Context, repo *repo_model.Repository, u *user_mo
178177 return false , "" , nil , & ErrWontSign {noKey }
179178 }
180179
181- ctx = cache .WithCacheContext (ctx )
182-
183180Loop:
184181 for _ , rule := range rules {
185182 switch rule {
@@ -235,7 +232,6 @@ func SignCRUDAction(ctx context.Context, repoPath string, u *user_model.User, tm
235232 if signingKey == "" {
236233 return false , "" , nil , & ErrWontSign {noKey }
237234 }
238- ctx = cache .WithCacheContext (ctx )
239235
240236Loop:
241237 for _ , rule := range rules {
@@ -301,7 +297,6 @@ func SignMerge(ctx context.Context, pr *issues_model.PullRequest, u *user_model.
301297
302298 var gitRepo * git.Repository
303299 var err error
304- ctx = cache .WithCacheContext (ctx )
305300
306301Loop:
307302 for _ , rule := range rules {
0 commit comments