aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Configuration/NotificationOptions.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-08 16:44:17 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-08 16:44:17 -0400
commite653b41000c2116c555691f866710f2239553322 (patch)
tree058585d3a5ca24161c12cad963adeff6ec210835 /MediaBrowser.Model/Configuration/NotificationOptions.cs
parentbb031f553b940d21fa89f319d294745484c2234e (diff)
removed implicit typing from the model project
Diffstat (limited to 'MediaBrowser.Model/Configuration/NotificationOptions.cs')
-rw-r--r--MediaBrowser.Model/Configuration/NotificationOptions.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/MediaBrowser.Model/Configuration/NotificationOptions.cs b/MediaBrowser.Model/Configuration/NotificationOptions.cs
index 7034bd39e..0ed43ae1e 100644
--- a/MediaBrowser.Model/Configuration/NotificationOptions.cs
+++ b/MediaBrowser.Model/Configuration/NotificationOptions.cs
@@ -75,14 +75,14 @@ namespace MediaBrowser.Model.Configuration
public bool IsEnabled(string type)
{
- var opt = GetOptions(type);
+ NotificationOption opt = GetOptions(type);
return opt != null && opt.Enabled;
}
public bool IsServiceEnabled(string service, string notificationType)
{
- var opt = GetOptions(notificationType);
+ NotificationOption opt = GetOptions(notificationType);
return opt == null ||
!opt.DisabledServices.Contains(service, StringComparer.OrdinalIgnoreCase);
@@ -90,7 +90,7 @@ namespace MediaBrowser.Model.Configuration
public bool IsEnabledToMonitorUser(string type, string userId)
{
- var opt = GetOptions(type);
+ NotificationOption opt = GetOptions(type);
return opt != null && opt.Enabled &&
!opt.DisabledMonitorUsers.Contains(userId, StringComparer.OrdinalIgnoreCase);
@@ -98,7 +98,7 @@ namespace MediaBrowser.Model.Configuration
public bool IsEnabledToSendToUser(string type, string userId, UserConfiguration userConfig)
{
- var opt = GetOptions(type);
+ NotificationOption opt = GetOptions(type);
if (opt != null && opt.Enabled)
{