From a9574d23633b5a5c95d3f9794ca32055762acdbd Mon Sep 17 00:00:00 2001 From: ljacqu Date: Sat, 2 Jul 2016 22:22:03 +0200 Subject: [PATCH] #819 Email text migration - migrate %tag% style placeholders as well --- .../xephi/authme/settings/SettingsMigrationService.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/fr/xephi/authme/settings/SettingsMigrationService.java b/src/main/java/fr/xephi/authme/settings/SettingsMigrationService.java index fdafea6f6..4a4add7bb 100644 --- a/src/main/java/fr/xephi/authme/settings/SettingsMigrationService.java +++ b/src/main/java/fr/xephi/authme/settings/SettingsMigrationService.java @@ -92,10 +92,10 @@ public class SettingsMigrationService { final File emailFile = new File(pluginFolder, "email.html"); final String mailText = configuration.getString(oldSettingPath) - .replace("", "") - .replace("", "") - .replace("", "") - .replace("", ""); + .replace("", "").replace("%playername%", "") + .replace("", "").replace("%servername%", "") + .replace("", "").replace("%generatedpass%", "") + .replace("", "").replace("%image%", ""); if (!emailFile.exists()) { try (FileWriter fw = new FileWriter(emailFile)) { fw.write(mailText);