1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 09:44:43 +00:00
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
..
2020-05-07 22:49:00 +01:00
2020-06-05 16:01:53 -04:00
2020-07-12 12:10:56 +03:00
2019-08-23 12:40:29 -04:00
2020-04-05 07:20:50 +01:00