mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -07:00
Revert "Ensure the movie isn't delete when the folder isn't renamed (#491)"
This reverts commit 8168cf82c5
.
This commit is contained in:
parent
8168cf82c5
commit
dd194d41be
1 changed files with 1 additions and 3 deletions
|
@ -138,9 +138,7 @@ namespace NzbDrone.Core.MediaFiles
|
|||
|
||||
_mediaFileAttributeService.SetFilePermissions(destinationFilePath);
|
||||
|
||||
|
||||
if(oldMoviePath != newMoviePath)
|
||||
_diskProvider.DeleteFolder(oldMoviePath, true);
|
||||
_diskProvider.DeleteFolder(oldMoviePath, true);
|
||||
|
||||
return movieFile;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue