diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-12 22:46:44 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2015-01-12 22:46:44 -0500 |
| commit | d8d5dd487326dd3fccf4e9f30cd8f7e3783fcfda (patch) | |
| tree | cf9950d32ee194d72a367c836a70dfb8f4e61401 /MediaBrowser.Server.Implementations/FileOrganization/FileOrganizationService.cs | |
| parent | f55217406985ad21da44aa523353f33e3f720ccd (diff) | |
make channel access opt-in rather than opt out
Diffstat (limited to 'MediaBrowser.Server.Implementations/FileOrganization/FileOrganizationService.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/FileOrganization/FileOrganizationService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/FileOrganization/FileOrganizationService.cs b/MediaBrowser.Server.Implementations/FileOrganization/FileOrganizationService.cs index 7c5269678..a6116ab09 100644 --- a/MediaBrowser.Server.Implementations/FileOrganization/FileOrganizationService.cs +++ b/MediaBrowser.Server.Implementations/FileOrganization/FileOrganizationService.cs @@ -85,7 +85,7 @@ namespace MediaBrowser.Server.Implementations.FileOrganization _logger.Info("Requested to delete {0}", result.OriginalPath); try { - File.Delete(result.OriginalPath); + _fileSystem.DeleteFile(result.OriginalPath); } catch (Exception ex) { |
