mirror of https://github.com/Radarr/Radarr
Fixed Growl ExternalNotification binding.
This commit is contained in:
parent
3fe1e80ccb
commit
ee90564519
|
@ -106,7 +106,7 @@ namespace NzbDrone.Core
|
||||||
_kernel.Bind<ExternalNotificationBase>().To<Xbmc>();
|
_kernel.Bind<ExternalNotificationBase>().To<Xbmc>();
|
||||||
_kernel.Bind<ExternalNotificationBase>().To<Smtp>();
|
_kernel.Bind<ExternalNotificationBase>().To<Smtp>();
|
||||||
_kernel.Bind<ExternalNotificationBase>().To<Twitter>();
|
_kernel.Bind<ExternalNotificationBase>().To<Twitter>();
|
||||||
_kernel.Bind<ExternalNotificationBase>().To<Growl>();
|
_kernel.Bind<ExternalNotificationBase>().To<Providers.ExternalNotification.Growl>();
|
||||||
|
|
||||||
var notifiers = _kernel.GetAll<ExternalNotificationBase>();
|
var notifiers = _kernel.GetAll<ExternalNotificationBase>();
|
||||||
_kernel.Get<ExternalNotificationProvider>().InitializeNotifiers(notifiers.ToList());
|
_kernel.Get<ExternalNotificationProvider>().InitializeNotifiers(notifiers.ToList());
|
||||||
|
|
Loading…
Reference in New Issue