aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common.Implementations/Updates
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-09 15:43:06 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-09 15:43:06 -0400
commit8619b5ab380666bcdd5d648820dde48b65128af9 (patch)
tree16405df5dfedced5506453efa21d077142f941c2 /MediaBrowser.Common.Implementations/Updates
parent388e87a349939b525e32473a04a4b9506602d304 (diff)
update translations
Diffstat (limited to 'MediaBrowser.Common.Implementations/Updates')
-rw-r--r--MediaBrowser.Common.Implementations/Updates/InstallationManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Common.Implementations/Updates/InstallationManager.cs b/MediaBrowser.Common.Implementations/Updates/InstallationManager.cs
index 92e5f894f..fe484840a 100644
--- a/MediaBrowser.Common.Implementations/Updates/InstallationManager.cs
+++ b/MediaBrowser.Common.Implementations/Updates/InstallationManager.cs
@@ -329,14 +329,14 @@ namespace MediaBrowser.Common.Implementations.Updates
if (withAutoUpdateEnabled)
{
plugins = plugins
- .Where(p => p.Configuration.EnableAutoUpdate)
+ .Where(p => _config.CommonConfiguration.EnableAutoUpdate)
.ToList();
}
// Figure out what needs to be installed
var packages = plugins.Select(p =>
{
- var latestPluginInfo = GetLatestCompatibleVersion(catalog, p.Name, p.Id.ToString(), applicationVersion, p.Configuration.UpdateClass);
+ var latestPluginInfo = GetLatestCompatibleVersion(catalog, p.Name, p.Id.ToString(), applicationVersion, _config.CommonConfiguration.SystemUpdateLevel);
return latestPluginInfo != null && latestPluginInfo.version != null && latestPluginInfo.version > p.Version ? latestPluginInfo : null;