Remove UpdateLibrariesTask

This commit is contained in:
glax 2023-07-29 18:20:41 +02:00
parent 9f38dc3b6a
commit 16238c590b

View File

@ -14,11 +14,7 @@ public class UpdateLibrariesTask : TrangaTask
protected override HttpStatusCode ExecuteTask(TaskManager taskManager, Logger? logger, CancellationToken? cancellationToken = null)
{
if (cancellationToken?.IsCancellationRequested ?? false)
return HttpStatusCode.RequestTimeout;
foreach(LibraryManager lm in taskManager.settings.libraryManagers)
lm.UpdateLibrary();
return HttpStatusCode.OK;
return HttpStatusCode.BadRequest;
}
public override TrangaTask Clone()