mirror of https://github.com/portainer/portainer
12 lines
263 B
Go
12 lines
263 B
Go
|
package migrator
|
||
|
|
||
|
func (m *Migrator) updateSettingsToVersion7() error {
|
||
|
legacySettings, err := m.settingsService.Settings()
|
||
|
if err != nil {
|
||
|
return err
|
||
|
}
|
||
|
legacySettings.DisplayDonationHeader = true
|
||
|
|
||
|
return m.settingsService.UpdateSettings(legacySettings)
|
||
|
}
|