diff options
| author | Erwin de Haan <EraYaN@users.noreply.github.com> | 2019-01-28 22:21:14 +0100 |
|---|---|---|
| committer | Erwin de Haan <EraYaN@users.noreply.github.com> | 2019-01-28 22:21:14 +0100 |
| commit | 838541b82530ce556cd5ab005ba59359f83c9509 (patch) | |
| tree | 12e5914043140937d4fbba8994ac7ece2394cda0 | |
| parent | 1d1d7e8a3767cf0b13d6aa630bc587f4dc43b698 (diff) | |
Removed loose whitespace and one .ToArray() call.
| -rw-r--r-- | Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs | 1 | ||||
| -rw-r--r-- | Emby.Server.Implementations/ScheduledTasks/ChapterImagesTask.cs | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs index 6da76ee7e..90b43bc59 100644 --- a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs +++ b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs @@ -209,7 +209,6 @@ namespace Emby.Server.Implementations.AppBase protected 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.cs index c31bdd13d..5373b4392 100644 --- a/Emby.Server.Implementations/ScheduledTasks/ChapterImagesTask.cs +++ b/Emby.Server.Implementations/ScheduledTasks/ChapterImagesTask.cs @@ -143,7 +143,7 @@ namespace Emby.Server.Implementations.ScheduledTasks Directory.CreateDirectory(parentPath); - string text = string.Join("|", previouslyFailedImages.ToArray()); + string text = string.Join("|", previouslyFailedImages); File.WriteAllText(failHistoryPath, text); } |
