Selaa lähdekoodia

Remove test code in update

Eric Reed 12 vuotta sitten
vanhempi
sitoutus
f356b56dbd

+ 5 - 6
MediaBrowser.Common.Implementations/ScheduledTasks/Tasks/SystemUpdateTask.cs

@@ -80,12 +80,11 @@ namespace MediaBrowser.Common.Implementations.ScheduledTasks.Tasks
 
 
             progress.Report(10);
             progress.Report(10);
 
 
-            //>>> FOR TESTING
-            //if (!updateInfo.IsUpdateAvailable)
-            //{
-            //    progress.Report(100);
-            //    return;
-            //}
+            if (!updateInfo.IsUpdateAvailable)
+            {
+                progress.Report(100);
+                return;
+            }
 
 
             cancellationToken.ThrowIfCancellationRequested();
             cancellationToken.ThrowIfCancellationRequested();