mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-30 23:45:46 +02:00
Merge branch 'markus101'
This commit is contained in:
@@ -62,9 +62,9 @@ namespace NzbDrone.Core
|
||||
|
||||
_kernel.Get<QualityProvider>().SetupDefaultProfiles();
|
||||
|
||||
BindExternalNotifications();
|
||||
BindIndexers();
|
||||
BindJobs();
|
||||
BindExternalNotifications();
|
||||
}
|
||||
|
||||
private static void BindKernel()
|
||||
@@ -111,8 +111,9 @@ namespace NzbDrone.Core
|
||||
|
||||
private static void BindExternalNotifications()
|
||||
{
|
||||
_kernel.Bind<ExternalNotificationProviderBase>().To<XbmcNotificationProvider>().InSingletonScope();
|
||||
var notifiers = _kernel.GetAll<ExternalNotificationProviderBase>();
|
||||
_kernel.Bind<ExternalNotificationBase>().To<Xbmc>();
|
||||
|
||||
var notifiers = _kernel.GetAll<ExternalNotificationBase>();
|
||||
_kernel.Get<ExternalNotificationProvider>().InitializeNotifiers(notifiers.ToList());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user