]> source.dussan.org Git - gitea.git/commit
Use provided database Engine (#17595)
authorGusted <williamzijl7@hotmail.com>
Tue, 9 Nov 2021 08:54:46 +0000 (09:54 +0100)
committerGitHub <noreply@github.com>
Tue, 9 Nov 2021 08:54:46 +0000 (08:54 +0000)
commit3a693bd18c6274b62aa7bcde69e9a0d86e43c534
tree4ad993db8b2853cda70810db07f17bf2b3e22bba
parent03de5934027ee5fcfb517016f27a4471f2bdd846
Use provided database Engine (#17595)

- Don't get the engine from `db.DefaultContext`, instead use the
provided one which is passed as paramater `e`.
models/org.go
models/user.go