You've already forked Sonarr
mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-11-06 09:19:38 +02:00
MediaFileProvider delete fixed to delete EpisodeFile with key of Int32 instead of object Int32. Added test to ensure File is deleted, but others remain.
This commit is contained in:
@@ -45,7 +45,7 @@ namespace NzbDrone.Core.Providers
|
||||
|
||||
public virtual void Delete(int episodeFileId)
|
||||
{
|
||||
_database.Delete(episodeFileId);
|
||||
_database.Delete<EpisodeFile>(episodeFileId);
|
||||
}
|
||||
|
||||
public virtual bool Exists(string path)
|
||||
|
||||
Reference in New Issue
Block a user