From b73f7a02d702a5fe1a90cd50e576f22f6f22757b Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 18 Dec 2012 12:20:55 -0800 Subject: [PATCH] Inject DecisionEngine --- .../Providers/DecisionEngine/RetentionSpecification.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NzbDrone.Core/Providers/DecisionEngine/RetentionSpecification.cs b/NzbDrone.Core/Providers/DecisionEngine/RetentionSpecification.cs index 58a86651d..730af0397 100644 --- a/NzbDrone.Core/Providers/DecisionEngine/RetentionSpecification.cs +++ b/NzbDrone.Core/Providers/DecisionEngine/RetentionSpecification.cs @@ -1,5 +1,6 @@ using System.Linq; using NLog; +using Ninject; using NzbDrone.Core.Model; using NzbDrone.Core.Providers.Core; @@ -10,6 +11,7 @@ public class RetentionSpecification private readonly ConfigProvider _configProvider; private static readonly Logger logger = LogManager.GetCurrentClassLogger(); + [Inject] public RetentionSpecification(ConfigProvider configProvider) { _configProvider = configProvider;