aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-26 23:09:07 +0100
committerErwin de Haan <EraYaN@users.noreply.github.com>2019-01-28 22:10:50 +0100
commitb9a111432a8c85cd6cd2bb6c80ba3acd8a27409d (patch)
treee954366643b196ba8629be9a4b989def2a3d05a8 /Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
parent581a7fe078002785b9ba628ec139a42d678cdf25 (diff)
Unwrapped all /(Write|Read)All(Text|Bytes)/ functions.
Diffstat (limited to 'Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs')
-rw-r--r--Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
index a92185994..ec3ca8ead 100644
--- a/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
+++ b/Emby.Server.Implementations/AppBase/BaseConfigurationManager.cs
@@ -210,7 +210,8 @@ namespace Emby.Server.Implementations.AppBase
{
var file = Path.Combine(path, Guid.NewGuid().ToString());
- FileSystem.WriteAllText(file, string.Empty);
+ string text = string.Empty;
+ File.WriteAllText(file, text);
FileSystem.DeleteFile(file);
}