Move DismissInventoryNotifications to BotBehaviour

Also stage 2 of all deprecated properties until now.
This commit is contained in:
JustArchi
2018-06-19 20:02:11 +02:00
parent a540f24208
commit 2090d6301b
6 changed files with 9 additions and 76 deletions

View File

@@ -254,11 +254,6 @@ namespace ArchiSteamFarm {
ASF.ArchiLogger.LogGenericDebug(SharedInfo.GlobalConfigFileName + ": " + JsonConvert.SerializeObject(GlobalConfig, Formatting.Indented));
}
if (GlobalConfig.BackgroundGCPeriod > 0) {
ASF.ArchiLogger.LogGenericWarning(string.Format(Strings.WarningDeprecated, nameof(GlobalConfig.BackgroundGCPeriod), "COMPlus_GCLatencyLevel=0"));
Hacks.EnableBackgroundGC(GlobalConfig.BackgroundGCPeriod);
}
if (!string.IsNullOrEmpty(GlobalConfig.CurrentCulture)) {
try {
// GetCultureInfo() would be better but we can't use it for specifying neutral cultures such as "en"