aboutsummaryrefslogtreecommitdiff
path: root/Emby.Notifications/Notifications.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2019-02-06 20:53:05 +0100
committerBond-009 <bond.009@outlook.com>2019-02-18 16:57:08 +0100
commit77a5617774eaf20314a40620fcb0b63d4cb17963 (patch)
treec888efeb22637c222aadb09b337cf5f1b9afb923 /Emby.Notifications/Notifications.cs
parent395072239d329d1deb1af6c57a7961cfada5fc24 (diff)
Removed remaining self-update code
Diffstat (limited to 'Emby.Notifications/Notifications.cs')
-rw-r--r--Emby.Notifications/Notifications.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Notifications/Notifications.cs b/Emby.Notifications/Notifications.cs
index d3290479f..449331f9c 100644
--- a/Emby.Notifications/Notifications.cs
+++ b/Emby.Notifications/Notifications.cs
@@ -65,7 +65,7 @@ namespace Emby.Notifications
_localization = localization;
_activityManager = activityManager;
- _coreNotificationTypes = new CoreNotificationTypes(localization, appHost).GetNotificationTypes().Select(i => i.Type).ToArray();
+ _coreNotificationTypes = new CoreNotificationTypes(localization).GetNotificationTypes().Select(i => i.Type).ToArray();
}
public Task RunAsync()
@@ -127,7 +127,7 @@ namespace Emby.Notifications
async void _appHost_HasUpdateAvailableChanged(object sender, EventArgs e)
{
// This notification is for users who can't auto-update (aka running as service)
- if (!_appHost.HasUpdateAvailable || _appHost.CanSelfUpdate)
+ if (!_appHost.HasUpdateAvailable)
{
return;
}