mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Changed the way the Database is registered with TinyIoC to make Logdb and future cachedb more accessible.
This commit is contained in:
parent
4ca8178ca8
commit
2a83088045
47 changed files with 181 additions and 72 deletions
|
@ -24,7 +24,7 @@ namespace NzbDrone.Core.Backup
|
|||
|
||||
public class BackupService : IBackupService, IExecute<BackupCommand>
|
||||
{
|
||||
private readonly IDatabase _maindDb;
|
||||
private readonly IMainDatabase _maindDb;
|
||||
private readonly IDiskProvider _diskProvider;
|
||||
private readonly IAppFolderInfo _appFolderInfo;
|
||||
private readonly IArchiveService _archiveService;
|
||||
|
@ -34,7 +34,7 @@ namespace NzbDrone.Core.Backup
|
|||
|
||||
private static readonly Regex BackupFileRegex = new Regex(@"nzbdrone_backup_[._0-9]+\.zip", RegexOptions.Compiled | RegexOptions.IgnoreCase);
|
||||
|
||||
public BackupService(IDatabase maindDb,
|
||||
public BackupService(IMainDatabase maindDb,
|
||||
IDiskProvider diskProvider,
|
||||
IAppFolderInfo appFolderInfo,
|
||||
IArchiveService archiveService,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue