0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-13 20:49:13 +01:00
gitea/modules/setting
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
..
actions.go
admin.go
api.go
attachment.go
cache.go
camo.go
config_provider.go
cors.go
cron_test.go
cron.go
database_sqlite.go
database_test.go
database.go Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
federation.go
git.go
highlight.go
i18n.go
incoming_email.go
indexer_test.go
indexer.go
lfs.go
log.go
mailer_test.go
mailer.go
markup.go
metrics.go
migrations.go
mime_type_map.go
mirror.go
oauth2.go
other.go
packages_test.go
packages.go
picture.go
project.go
proxy.go
queue.go
repository.go
security.go
server.go
service.go
session.go
setting_test.go
setting.go
ssh.go
storage_test.go
storage.go
task.go
time.go
ui.go
webhook.go