0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-19 00:00:34 +01:00
gitea/models/user
Lunny Xiao a1c30740bb
Fix get system setting bug when enabled redis cache (#22295)
Fix #22281

In #21621 , `Get[V]` and `Set[V]` has been introduced, so that cache
value will be `*Setting`. For memory cache it's OK. But for redis cache,
it can only store `string` for the current implementation. This PR
revert some of changes of that and just store or return a `string` for
system setting.
2023-01-02 00:06:52 +08:00
..
avatar.go Fix get system setting bug when enabled redis cache (#22295) 2023-01-02 00:06:52 +08:00
badge.go
email_address_test.go
email_address.go Use ErrInvalidArgument in packages (#22268) 2022-12-31 12:49:37 +01:00
error.go
external_login_user.go
follow_test.go
follow.go
list.go
main_test.go
openid_test.go
openid.go Use ErrInvalidArgument in packages (#22268) 2022-12-31 12:49:37 +01:00
redirect_test.go
redirect.go
search.go
setting_keys.go
setting_test.go
setting.go Fix get system setting bug when enabled redis cache (#22295) 2023-01-02 00:06:52 +08:00
user_test.go
user_update.go
user.go Add option to prohibit fork if user reached maximum limit of repositories (#21848) 2022-12-27 15:21:14 -06:00