mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Added delete and redownload commands to History Grid (redownload will delete the existing item from history and then start an episode search)
This commit is contained in:
parent
1d983801e8
commit
ac3c3386fc
4 changed files with 83 additions and 5 deletions
|
@ -63,5 +63,10 @@ namespace NzbDrone.Core.Providers
|
|||
|
||||
return history.FirstOrDefault();
|
||||
}
|
||||
|
||||
public virtual void Delete(int historyId)
|
||||
{
|
||||
_database.Delete<History>(historyId);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue