diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-01-06 16:00:30 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-01-23 16:39:12 +0100 |
| commit | f6f0a8a481332f55a4af68ee776580cb506dd48c (patch) | |
| tree | 078c3c413448f0babea9ab87de6e0d1f9bb33798 /Emby.Server.Implementations/ApplicationHost.cs | |
| parent | bd550ef99649921af46c33c44210b2bd48d39ea0 (diff) | |
Use EF Core for Activity database
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
| -rw-r--r-- | Emby.Server.Implementations/ApplicationHost.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index c8c4da0f7..6d0e251ce 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -1148,11 +1148,7 @@ namespace Emby.Server.Implementations private IActivityRepository GetActivityLogRepository() { - var repo = new ActivityRepository(LoggerFactory, ServerConfigurationManager.ApplicationPaths, FileSystemManager); - - repo.Initialize(); - - return repo; + return new ActivityRepository(ServerConfigurationManager.ApplicationPaths.DataPath); } /// <summary> |
