mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-20 22:59:41 +08:00

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.