aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/SystemUpdateTask.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-09-30 11:04:38 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-09-30 11:04:38 -0400
commitf4f91a8316f46ea91dca6447bcff495b7c0f0b40 (patch)
treed57bf3865591fcae579b7bcbec44d0399bbe4661 /MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/SystemUpdateTask.cs
parent3733ebd21e0a3b9c6ef0fd2e5c0cac4d53b50a40 (diff)
auto update fixes
Diffstat (limited to 'MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/SystemUpdateTask.cs')
-rw-r--r--MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/SystemUpdateTask.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/SystemUpdateTask.cs b/MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/SystemUpdateTask.cs
index 33917125e..88d56fead 100644
--- a/MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/SystemUpdateTask.cs
+++ b/MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/SystemUpdateTask.cs
@@ -68,6 +68,7 @@ namespace MediaBrowser.Common.Implementations.ScheduledTasks.Tasks
public async Task Execute(CancellationToken cancellationToken, IProgress<double> progress)
{
if (!_appHost.CanSelfUpdate) return;
+ if (!ConfigurationManager.CommonConfiguration.EnableAutoUpdate) return;
EventHandler<double> innerProgressHandler = (sender, e) => progress.Report(e * .1);