mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-21 16:16:23 +08:00

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.