Minor code householding

- Add removed property to migration service
- Log exception with appropriate logger method
This commit is contained in:
ljacqu
2016-06-01 23:24:48 +02:00
parent 1cbd11a753
commit 38db2ef0bd
3 changed files with 3 additions and 6 deletions
@@ -64,7 +64,7 @@ public class SettingsMigrationService {
String[] deprecatedProperties = {
"Converter.Rakamak.newPasswordHash", "Hooks.chestshop", "Hooks.legacyChestshop", "Hooks.notifications",
"Passpartu", "Performances", "settings.restrictions.enablePasswordVerifier", "Xenoforo.predefinedSalt",
"VeryGames"};
"VeryGames", "settings.restrictions.allowAllCommandsIfRegistrationIsOptional"};
for (String deprecatedPath : deprecatedProperties) {
if (configuration.contains(deprecatedPath)) {
return true;