Don't serialize deprecated config options

This commit is contained in:
Jakob Borg 2014-05-11 20:13:22 -03:00
parent 1d602b9efa
commit 0fcbee6478
1 changed files with 3 additions and 3 deletions

View File

@ -57,9 +57,9 @@ type OptionsConfiguration struct {
StartBrowser bool `xml:"startBrowser" default:"true"`
UPnPEnabled bool `xml:"upnpEnabled" default:"true"`
Deprecated_ReadOnly bool `xml:"readOnly,omitempty"`
Deprecated_GUIEnabled bool `xml:"guiEnabled,omitempty"`
Deprecated_GUIAddress string `xml:"guiAddress,omitempty"`
Deprecated_ReadOnly bool `xml:"readOnly,omitempty" json:"-"`
Deprecated_GUIEnabled bool `xml:"guiEnabled,omitempty" json:"-"`
Deprecated_GUIAddress string `xml:"guiAddress,omitempty" json:"-"`
}
type GUIConfiguration struct {