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-03-22 11:12:55 -04:00
2020-04-05 07:20:50 +01:00
2020-06-05 16:01:53 -04:00
2020-06-15 16:46:01 -04:00
2017-05-04 13:54:56 +08:00
2020-04-05 07:20:50 +01:00
2019-12-15 16:57:34 -05:00
2020-04-05 07:20:50 +01:00
2020-03-22 11:12:55 -04:00
2020-04-05 07:20:50 +01:00
2020-06-22 11:21:11 -04:00
2020-04-14 09:53:34 -04:00
2020-03-22 11:12:55 -04:00
2020-01-24 14:00:29 -05:00
2020-04-05 07:20:50 +01:00
2020-03-02 00:05:44 +02:00
2020-04-05 07:20:50 +01:00
2020-01-13 18:33:46 +01:00
2019-06-12 15:41:28 -04:00