Skip to content

Commit

Permalink
Fixed config updater leaving behind old settings
Browse files Browse the repository at this point in the history
Changed order of the options that were being left behind in the first
update
  • Loading branch information
AuroraLS3 committed Dec 15, 2018
1 parent 7030e86 commit 114e4f5
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ public void applyConfigUpdate(Config config) throws IOException {
new ConfigChange.Removed("Plugin.Bungee-Override"),
new ConfigChange.Moved("Database.MySQL.LaunchOptions", "Database.MySQL.Launch_options"),

new ConfigChange.Moved("WebServer.InternalIP", "WebServer.Internal_IP"),
new ConfigChange.Moved("WebServer.Security.SSL-Certificate.KeyStorePath", "WebServer.Security.SSL-Certificate.KeyStore_path"),
new ConfigChange.Moved("WebServer.Security.SSL-Certificate.KeyPass", "WebServer.Security.SSL-Certificate.Key_pass"),
new ConfigChange.Moved("WebServer.Security.SSL-Certificate.StorePass", "WebServer.Security.SSL-Certificate.Store_pass"),
new ConfigChange.Moved("WebServer.Security.SSL-Certificate", "WebServer.Security.SSL_certificate"),
new ConfigChange.Moved("WebServer.DisableWebServer", "WebServer.Disable_Webserver"),
new ConfigChange.Moved("WebServer.ExternalWebServerAddress", "WebServer.External_Webserver_address"),
new ConfigChange.Moved("WebServer", "Webserver"),
new ConfigChange.Moved("Commands.AlternativeIP.Enabled", "Webserver.Alternative_IP"),
new ConfigChange.Moved("Commands.AlternativeIP.Link", "Webserver.Alternative_IP.Address"),
new ConfigChange.Moved("Webserver.InternalIP", "Webserver.Internal_IP"),
new ConfigChange.Moved("Webserver.Security.SSL-Certificate", "Webserver.Security.SSL_certificate"),
new ConfigChange.Moved("Webserver.Security.SSL_certificate.KeyStorePath", "Webserver.Security.SSL_certificate.KeyStore_path"),
new ConfigChange.Moved("Webserver.Security.SSL_certificate.KeyPass", "Webserver.Security.SSL_certificate.Key_pass"),
new ConfigChange.Moved("Webserver.Security.SSL_certificate.StorePass", "Webserver.Security.SSL_certificate.Store_pass"),
new ConfigChange.Moved("Webserver.DisableWebServer", "Webserver.Disable_Webserver"),
new ConfigChange.Moved("Webserver.ExternalWebServerAddress", "Webserver.External_Webserver_address"),

new ConfigChange.Moved("Data.Geolocations", "Data_gathering.Geolocations"),
new ConfigChange.Moved("Data.Commands.LogUnknownCommands", "Data_gathering.Commands.Log_unknown"),
Expand Down Expand Up @@ -102,10 +102,10 @@ public void applyConfigUpdate(Config config) throws IOException {
new ConfigChange.Moved("Theme.Graphs.Disk.Medium-Threshold", "Display_options.Graphs.Disk_space.Medium_threshold"),
new ConfigChange.Moved("Commands.Colors", "Display_options.Command_colors"),

new ConfigChange.Moved("Customization.Formatting.DecimalPoints", "Customization.Formatting.Decimal_points"),
new ConfigChange.Moved("Customization.Formatting.TimeAmount", "Customization.Formatting.Time_amount"),
new ConfigChange.Moved("Customization.Formatting.Dates.RecentDays", "Customization.Formatting.Dates.Show_recent_day_names"),
new ConfigChange.Moved("Customization.Formatting", "Formatting"),
new ConfigChange.Moved("Formatting.DecimalPoints", "Formatting.Decimal_points"),
new ConfigChange.Moved("Formatting.TimeAmount", "Formatting.Time_amount"),
new ConfigChange.Moved("Formatting.Dates.RecentDays", "Formatting.Dates.Show_recent_day_names"),

new ConfigChange.Moved("Customization.WorldAliases", "World_aliases"),
new ConfigChange.Moved("Analysis.Export.DestinationFolder", "Export.HTML_Export_path"),
Expand Down

0 comments on commit 114e4f5

Please sign in to comment.