From 027cce2d997a820eb3356ec22dcab65053dc2f29 Mon Sep 17 00:00:00 2001 From: Michael Bucari-Tovo Date: Tue, 29 Jun 2021 22:03:36 -0600 Subject: [PATCH] Remove DownloadBook from BackupBook. --- FileLiberator/BackupBook.cs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/FileLiberator/BackupBook.cs b/FileLiberator/BackupBook.cs index 604994c4..b778eec0 100644 --- a/FileLiberator/BackupBook.cs +++ b/FileLiberator/BackupBook.cs @@ -3,7 +3,7 @@ using System.Linq; using System.Threading.Tasks; using DataLayer; using Dinah.Core.ErrorHandling; -using FileLiberator.AaxcDownloadDecrypt; +using FileLiberator; using FileManager; namespace FileLiberator @@ -22,8 +22,6 @@ namespace FileLiberator public event EventHandler StatusUpdate; public event EventHandler Completed; - - public DownloadBookDummy DownloadBook { get; } = new DownloadBookDummy(); public DownloadDecryptBook DecryptBook { get; } = new DownloadDecryptBook(); public DownloadPdf DownloadPdf { get; } = new DownloadPdf(); @@ -38,12 +36,6 @@ namespace FileLiberator try { - { - var statusHandler = await DownloadBook.TryProcessAsync(libraryBook); - if (statusHandler.HasErrors) - return statusHandler; - } - { var statusHandler = await DecryptBook.TryProcessAsync(libraryBook); if (statusHandler.HasErrors)