1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/routers/web/user/setting
wxiaoguang 7a550b3af2
Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163)
* Remove `db.DefaultContext` usage in routers, use `ctx` directly

* Use `ctx` directly if there is one, remove some `db.DefaultContext` in `services`

* Use ctx instead of db.DefaultContext for `cmd` and some `modules` packages

* fix incorrect context usage
2022-03-22 16:22:54 +01:00
..
security Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
account_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
account.go Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
adopt.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
applications.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
keys.go Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
main_test.go Decouple unit test code from business code (#17623) 2021-11-12 22:36:47 +08:00
oauth2.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
profile.go Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00