]> source.dussan.org Git - gitea.git/commit
Remove `db.DefaultContext` in `routers/` and `cmd/` (#26076)
authordelvh <dev.lh@web.de>
Mon, 24 Jul 2023 03:47:27 +0000 (05:47 +0200)
committerGitHub <noreply@github.com>
Mon, 24 Jul 2023 03:47:27 +0000 (23:47 -0400)
commitf3d41c61eb0e66aacc269508d27716425673509b
tree37990d8fbe3c7e8bac6208cde513e5bed5126232
parent24c3bb95acfd906dc752f867615dafd170176502
Remove `db.DefaultContext` in `routers/` and `cmd/` (#26076)

Now, the only remaining usages of `models.db.DefaultContext` are in
  - `modules`
  - `models`
  - `services`
cmd/admin.go
routers/api/packages/composer/composer.go
routers/api/packages/conan/conan.go
routers/api/packages/container/blob.go
routers/api/packages/container/container.go
routers/api/packages/container/manifest.go
routers/api/packages/npm/npm.go
routers/api/v1/user/key.go
routers/web/admin/packages.go
routers/web/healthcheck/check.go
routers/web/repo/view.go