mirror of
https://github.com/Sonarr/Sonarr
synced 2026-04-16 10:11:25 +02:00
Fixed: Delete files from Series Mass Editor not actually deleting files
This commit is contained in:
parent
0d1c2ac40c
commit
9868d96fec
2 changed files with 2 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ private object DeleteSeries()
|
|||
|
||||
foreach (var seriesId in resource.SeriesIds)
|
||||
{
|
||||
_seriesService.DeleteSeries(seriesId, false);
|
||||
_seriesService.DeleteSeries(seriesId, resource.DeleteFiles);
|
||||
}
|
||||
|
||||
return new object();
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ public class SeriesEditorResource
|
|||
public List<int> Tags { get; set; }
|
||||
public ApplyTags ApplyTags { get; set; }
|
||||
public bool MoveFiles { get; set; }
|
||||
public bool DeleteFiles { get; set; }
|
||||
}
|
||||
|
||||
public enum ApplyTags
|
||||
|
|
|
|||
Loading…
Reference in a new issue