mirror of
https://github.com/Radarr/Radarr
synced 2025-12-22 00:05:15 +01: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 @@ private MovieFile TransferFile(MovieFile movieFile, Movie movie, string destinat
|
|||
|
||||
_mediaFileAttributeService.SetFilePermissions(destinationFilePath);
|
||||
|
||||
|
||||
if(oldMoviePath != newMoviePath)
|
||||
_diskProvider.DeleteFolder(oldMoviePath, true);
|
||||
_diskProvider.DeleteFolder(oldMoviePath, true);
|
||||
|
||||
return movieFile;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue