The Free Software Media System - Server Backend & API
Removed loose whitespace and one .ToArray() call.
Erwin de Haan838541b82530
diff --git a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.csindex 6da76ee7e4..90b43bc590 100644--- a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs+++ b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs@@ -209,7 +209,6 @@ namespace Emby.Server.Implementations.AppBaseprotected void EnsureWriteAccess(string path){var file = Path.Combine(path, Guid.NewGuid().ToString());-File.WriteAllText(file, string.Empty);FileSystem.DeleteFile(file);}diff --git a/Emby.Server.Implementations/ScheduledTasks/ChapterImagesTask.cs b/Emby.Server.Implementations/ScheduledTasks/ChapterImagesTask.csindex c31bdd13d2..5373b4392b 100644--- a/Emby.Server.Implementations/ScheduledTasks/ChapterImagesTask.cs+++ b/Emby.Server.Implementations/ScheduledTasks/ChapterImagesTask.cs@@ -143,7 +143,7 @@ namespace Emby.Server.Implementations.ScheduledTasksDirectory.CreateDirectory(parentPath);- string text = string.Join("|", previouslyFailedImages.ToArray());+ string text = string.Join("|", previouslyFailedImages);File.WriteAllText(failHistoryPath, text);}