Browse Source

Remove test code in update

Eric Reed 12 years ago
parent
commit
f356b56dbd

+ 5 - 6
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();