1
1
mirror of https://github.com/go-gitea/gitea synced 2025-11-02 20:38:26 +00:00
Files
gitea/routers/install.go
Lars Lehtonen b49a195839 models: fix xorm variable clobber (#12231)
NewTestEngine() takes a *xorm.Engine as its argument, and then immediately overwrites it.

This fixes the model package to not take an unneeded variable, and changes the routers package to not create a nil *xorm.Engine that is immediately discarded by model.
2020-07-13 09:58:55 +01:00

14 KiB