forked from gitea/gitea
1
0
Fork 0
gitea/routers
Jason Song c84238800b
Refactor `setting.Database.UseXXX` to methods (#23354)
Replace #23350.

Refactor `setting.Database.UseMySQL` to
`setting.Database.Type.IsMySQL()`.

To avoid mismatching between `Type` and `UseXXX`.

This refactor can fix the bug mentioned in #23350, so it should be
backported.
2023-03-07 18:51:06 +08:00
..
api Make Ctrl+Enter submit a pending comment (starting review) instead of submitting a single comment (#23245) 2023-03-04 02:13:37 -05:00
common Support sanitising the URL by removing extra slashes in the URL (#21333) 2023-03-04 21:31:24 +08:00
install Refactor `setting.Database.UseXXX` to methods (#23354) 2023-03-07 18:51:06 +08:00
private Use context parameter in services/repository (#23186) 2023-02-28 16:17:51 -06:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Refactor `setting.Database.UseXXX` to methods (#23354) 2023-03-07 18:51:06 +08:00
init.go Refactor `setting.Database.UseXXX` to methods (#23354) 2023-03-07 18:51:06 +08:00