0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 05:14:29 +01:00
gitea/routers
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
..
admin Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 2020-07-05 20:07:07 -04:00
api/v1 Extend Notifications API and return pinned notifications by default (#12164) 2020-07-12 00:46:01 +03:00
dev
events
org
private Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 2020-07-05 20:07:07 -04:00
repo Syntax highlight expanded code blobs (#12223) 2020-07-12 21:25:05 +03:00
routes
user
utils
home.go
init.go Direct SVG rendering (#12157) 2020-07-12 12:10:56 +03:00
install.go models: fix xorm variable clobber (#12231) 2020-07-13 09:58:55 +01:00
metrics.go
swagger_json.go