mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
DeleteSeriesJob now uses the providers properly.
This commit is contained in:
parent
c5ea0dee17
commit
3cc052e9b6
3 changed files with 28 additions and 42 deletions
|
@ -55,5 +55,15 @@ namespace NzbDrone.Core.Providers
|
|||
Logger.Debug("Episode not in History. ID:{0} Q:{1} Proper:{2}", episodeId, quality, proper);
|
||||
return false;
|
||||
}
|
||||
|
||||
public virtual void Delete(int historyId)
|
||||
{
|
||||
_repository.Delete<History>(historyId);
|
||||
}
|
||||
|
||||
public virtual void DeleteForEpisode(int episodeId)
|
||||
{
|
||||
_repository.DeleteMany<History>(h => h.EpisodeId == episodeId);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue