mirror of
https://github.com/go-gitea/gitea.git
synced 2025-11-17 22:36:04 +01:00
chore: fixed comment to be more clear
This commit is contained in:
parent
734daa9684
commit
8a9b0e6421
@ -427,7 +427,7 @@ func SubmitInstall(ctx *context.Context) {
|
||||
|
||||
cfg.Section("server").Key("OFFLINE_MODE").SetValue(strconv.FormatBool(form.OfflineMode))
|
||||
if err := system_model.SetSettings(ctx, map[string]string{
|
||||
// Form is submitted on install and should use the SelectFrom key and inverted this enter
|
||||
// Form is submitted on install and should use the SelectFrom key for backwards compatability; getting the value will properly invert the boolean
|
||||
setting.Config().Picture.EnableGravatar.SelectFromKey(): strconv.FormatBool(!form.EnableGravatar),
|
||||
setting.Config().Picture.EnableFederatedAvatar.DynKey(): strconv.FormatBool(form.EnableFederatedAvatar),
|
||||
}); err != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user