aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ApplicationHost.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2019-01-06 16:00:30 +0100
committerBond_009 <bond.009@outlook.com>2019-01-23 16:39:12 +0100
commitf6f0a8a481332f55a4af68ee776580cb506dd48c (patch)
tree078c3c413448f0babea9ab87de6e0d1f9bb33798 /Emby.Server.Implementations/ApplicationHost.cs
parentbd550ef99649921af46c33c44210b2bd48d39ea0 (diff)
Use EF Core for Activity database
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs6
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>