aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Library/LibraryService.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-01-10 21:18:16 +0100
committerBond_009 <bond.009@outlook.com>2020-01-10 21:18:16 +0100
commitbb236b95916c7fe0fc04fefbb409686ab289a758 (patch)
tree72d32e64a7bc36777ad84c3503ccd33075c136db /MediaBrowser.Api/Library/LibraryService.cs
parent7f5a174dff98c6071fc292a41bba63d1435c2ddd (diff)
parent162c1ac7b7fde0e4929cf262b0f275e3eb15524c (diff)
Merge branch 'master' into warn12
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryService.cs')
-rw-r--r--MediaBrowser.Api/Library/LibraryService.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/MediaBrowser.Api/Library/LibraryService.cs b/MediaBrowser.Api/Library/LibraryService.cs
index 0cc5e112f..b1ea3e262 100644
--- a/MediaBrowser.Api/Library/LibraryService.cs
+++ b/MediaBrowser.Api/Library/LibraryService.cs
@@ -1006,8 +1006,8 @@ namespace MediaBrowser.Api.Library
public void Delete(DeleteItems request)
{
var ids = string.IsNullOrWhiteSpace(request.Ids)
- ? Array.Empty<string>()
- : request.Ids.Split(',');
+ ? Array.Empty<string>()
+ : request.Ids.Split(',');
foreach (var i in ids)
{
@@ -1028,7 +1028,6 @@ namespace MediaBrowser.Api.Library
_libraryManager.DeleteItem(item, new DeleteOptions
{
DeleteFileLocation = true
-
}, true);
}
}