aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/SystemUpdateTask.cs
diff options
context:
space:
mode:
authorEric Reed <ebr@mediabrowser3.com>2013-03-02 18:50:10 -0500
committerEric Reed <ebr@mediabrowser3.com>2013-03-02 18:50:27 -0500
commitf356b56dbd2827d642446eadd3ca33bd0ec9840f (patch)
tree56b2829ad051dbde10c630c7bcf60bbf665bedc0 /MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/SystemUpdateTask.cs
parent71fe785c6de047a09f6f585fd407332e73415f0e (diff)
Remove test code in update
Diffstat (limited to 'MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/SystemUpdateTask.cs')
-rw-r--r--MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/SystemUpdateTask.cs11
1 files changed, 5 insertions, 6 deletions
diff --git a/MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/SystemUpdateTask.cs b/MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/SystemUpdateTask.cs
index e6436639e..0091e14c0 100644
--- a/MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/SystemUpdateTask.cs
+++ b/MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/SystemUpdateTask.cs
@@ -80,12 +80,11 @@ namespace MediaBrowser.Common.Implementations.ScheduledTasks.Tasks
progress.Report(10);
- //>>> FOR TESTING
- //if (!updateInfo.IsUpdateAvailable)
- //{
- // progress.Report(100);
- // return;
- //}
+ if (!updateInfo.IsUpdateAvailable)
+ {
+ progress.Report(100);
+ return;
+ }
cancellationToken.ThrowIfCancellationRequested();