mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Remove CheckForApplicationUpdate function
This commit is contained in:
parent
78dafb5399
commit
3fa751e9bb
@ -2283,17 +2283,6 @@ namespace Emby.Server.Implementations
|
|||||||
Plugins = list.ToArray();
|
Plugins = list.ToArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <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>
|
/// <summary>
|
||||||
/// Updates the application.
|
/// Updates the application.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using MediaBrowser.Common;
|
/*using MediaBrowser.Common;
|
||||||
using MediaBrowser.Common.Updates;
|
using MediaBrowser.Common.Updates;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using MediaBrowser.Model.Net;
|
using MediaBrowser.Model.Net;
|
||||||
@ -16,7 +16,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Plugin Update Task
|
/// Plugin Update Task
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class PluginUpdateTask /*: IScheduledTask, IConfigurableScheduledTask*/
|
public class PluginUpdateTask : IScheduledTask, IConfigurableScheduledTask
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _logger
|
/// The _logger
|
||||||
@ -140,3 +140,4 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
|||||||
public bool IsLogged => true;
|
public bool IsLogged => true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using MediaBrowser.Common;
|
/*using MediaBrowser.Common;
|
||||||
using MediaBrowser.Common.Configuration;
|
using MediaBrowser.Common.Configuration;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using System;
|
using System;
|
||||||
@ -13,7 +13,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Plugin Update Task
|
/// Plugin Update Task
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class SystemUpdateTask /*: IScheduledTask*/
|
public class SystemUpdateTask : IScheduledTask
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _app host
|
/// The _app host
|
||||||
@ -126,3 +126,4 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
@ -85,12 +85,6 @@ namespace MediaBrowser.Common
|
|||||||
/// <returns>IEnumerable{``0}.</returns>
|
/// <returns>IEnumerable{``0}.</returns>
|
||||||
IEnumerable<T> GetExports<T>(bool manageLiftime = true);
|
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>
|
/// <summary>
|
||||||
/// Updates the application.
|
/// Updates the application.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user