Skip to content

Commit 5902bb2

Browse files
committed
remove old backward compatible code
1 parent 90f582f commit 5902bb2

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/Configuration/EssConfig.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -180,18 +180,6 @@ public override void Load(string filePath) {
180180
try {
181181
var json = JObject.Parse(File.ReadAllText(filePath));
182182

183-
if (json["AutoAnnouncer"]["Interval"] == null) {
184-
var old = json["AutoAnnouncer"]
185-
.Children<JProperty>()
186-
.FirstOrDefault(n => n.Name.Equals("MessageInterval"));
187-
188-
if (old != null) {
189-
json["AutoAnnouncer"]["Interval"] = old.Value;
190-
old.Remove();
191-
}
192-
File.WriteAllText(filePath, json.ToString());
193-
}
194-
195183
base.Load(filePath);
196184

197185
/*

0 commit comments

Comments
 (0)