mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Remove dead code
This commit is contained in:
@@ -30,7 +30,6 @@ using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Humanizer;
|
||||
using Humanizer.Localisation;
|
||||
using Markdig;
|
||||
|
||||
namespace ArchiSteamFarm {
|
||||
internal static class Utilities {
|
||||
@@ -178,21 +177,6 @@ namespace ArchiSteamFarm {
|
||||
return true;
|
||||
}
|
||||
|
||||
internal static string MarkdownToText(string markdownText) {
|
||||
if (string.IsNullOrEmpty(markdownText)) {
|
||||
ASF.ArchiLogger.LogNullError(nameof(markdownText));
|
||||
return null;
|
||||
}
|
||||
|
||||
string plainText = Markdown.ToPlainText(markdownText);
|
||||
if (plainText == null) {
|
||||
ASF.ArchiLogger.LogNullError(nameof(plainText));
|
||||
return null;
|
||||
}
|
||||
|
||||
return plainText;
|
||||
}
|
||||
|
||||
internal static int RandomNext() {
|
||||
lock (Random) {
|
||||
return Random.Next();
|
||||
|
||||
Reference in New Issue
Block a user