diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2019-11-02 01:24:44 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-02 01:24:44 +0900 |
| commit | 89a21c96c05dd89ff2d2bd5926d0f98c6ef0db9b (patch) | |
| tree | 16ec2affaa4c27fe2ed7aec8edffc1f603670d57 /Emby.Server.Implementations/ApplicationHost.cs | |
| parent | 443422ddb4102eaa91d7cc779ceb8a536f76ac29 (diff) | |
| parent | 92abc202a4cf66e98f01d56a56304e60c474bd38 (diff) | |
Merge pull request #1852 from Bond-009/warn9
Fix some more warnings
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index 04904fc4a..f7fe2bd63 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -362,7 +362,7 @@ namespace Emby.Server.Implementations { _configuration = configuration; - XmlSerializer = new MyXmlSerializer(fileSystem, loggerFactory); + XmlSerializer = new MyXmlSerializer(); NetworkManager = networkManager; networkManager.LocalSubnetsFn = GetConfiguredLocalSubnets; @@ -906,7 +906,7 @@ namespace Emby.Server.Implementations _displayPreferencesRepository.Initialize(); - var userDataRepo = new SqliteUserDataRepository(LoggerFactory, ApplicationPaths); + var userDataRepo = new SqliteUserDataRepository(LoggerFactory.CreateLogger<SqliteUserDataRepository>(), ApplicationPaths); SetStaticProperties(); |
