aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs11
-rw-r--r--Emby.Server.Implementations/ScheduledTasks/PluginUpdateTask.cs5
-rw-r--r--Emby.Server.Implementations/ScheduledTasks/SystemUpdateTask.cs5
-rw-r--r--MediaBrowser.Common/IApplicationHost.cs6
4 files changed, 6 insertions, 21 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index 98c7cf38b..fe615fab0 100644
--- a/Emby.Server.Implementations/ApplicationHost.cs
+++ b/Emby.Server.Implementations/ApplicationHost.cs
@@ -2284,17 +2284,6 @@ namespace Emby.Server.Implementations
}
/// <summary>
- /// Checks for update.
- /// </summary>
- /// <param name="cancellationToken">The cancellation token.</param>
- /// <param name="progress">The progress.</param>
- /// <returns>Task{CheckForUpdateResult}.</returns>
- public Task<CheckForUpdateResult> CheckForApplicationUpdate(CancellationToken cancellationToken, IProgress<double> progress)
- {
- throw new Exception("Unimplemented");
- }
-
- /// <summary>
/// Updates the application.
/// </summary>
/// <param name="package">The package that contains the update</param>
diff --git a/Emby.Server.Implementations/ScheduledTasks/PluginUpdateTask.cs b/Emby.Server.Implementations/ScheduledTasks/PluginUpdateTask.cs
index 9b3571ac2..8c562e452 100644
--- a/Emby.Server.Implementations/ScheduledTasks/PluginUpdateTask.cs
+++ b/Emby.Server.Implementations/ScheduledTasks/PluginUpdateTask.cs
@@ -1,4 +1,4 @@
-using MediaBrowser.Common;
+/*using MediaBrowser.Common;
using MediaBrowser.Common.Updates;
using Microsoft.Extensions.Logging;
using MediaBrowser.Model.Net;
@@ -16,7 +16,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
/// <summary>
/// Plugin Update Task
/// </summary>
- public class PluginUpdateTask /*: IScheduledTask, IConfigurableScheduledTask*/
+ public class PluginUpdateTask : IScheduledTask, IConfigurableScheduledTask
{
/// <summary>
/// The _logger
@@ -140,3 +140,4 @@ namespace Emby.Server.Implementations.ScheduledTasks
public bool IsLogged => true;
}
}
+*/
diff --git a/Emby.Server.Implementations/ScheduledTasks/SystemUpdateTask.cs b/Emby.Server.Implementations/ScheduledTasks/SystemUpdateTask.cs
index 890a20ddf..18ff33e95 100644
--- a/Emby.Server.Implementations/ScheduledTasks/SystemUpdateTask.cs
+++ b/Emby.Server.Implementations/ScheduledTasks/SystemUpdateTask.cs
@@ -1,4 +1,4 @@
-using MediaBrowser.Common;
+/*using MediaBrowser.Common;
using MediaBrowser.Common.Configuration;
using Microsoft.Extensions.Logging;
using System;
@@ -13,7 +13,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
/// <summary>
/// Plugin Update Task
/// </summary>
- public class SystemUpdateTask /*: IScheduledTask*/
+ public class SystemUpdateTask : IScheduledTask
{
/// <summary>
/// The _app host
@@ -126,3 +126,4 @@ namespace Emby.Server.Implementations.ScheduledTasks
}
}
}
+*/
diff --git a/MediaBrowser.Common/IApplicationHost.cs b/MediaBrowser.Common/IApplicationHost.cs
index 32b942b60..39d69ea15 100644
--- a/MediaBrowser.Common/IApplicationHost.cs
+++ b/MediaBrowser.Common/IApplicationHost.cs
@@ -86,12 +86,6 @@ namespace MediaBrowser.Common
IEnumerable<T> GetExports<T>(bool manageLiftime = true);
/// <summary>
- /// Checks for update.
- /// </summary>
- /// <returns>Task{CheckForUpdateResult}.</returns>
- Task<CheckForUpdateResult> CheckForApplicationUpdate(CancellationToken cancellationToken, IProgress<double> progress);
-
- /// <summary>
/// Updates the application.
/// </summary>
/// <returns>Task.</returns>