forgejo/models/activities
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
..
action.go Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
action_list.go
action_test.go Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
main_test.go
notification.go
notification_test.go
repo_activity.go Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
statistic.go
user_heatmap.go Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
user_heatmap_test.go Add pagination for dashboard and user activity feeds (#22937) 2023-02-24 16:15:10 -05:00