Revert "Ensure the movie isn't delete when the folder isn't renamed (#491)"

This reverts commit 8168cf82c5.
pull/497/head
Tim Turner 8 years ago
parent 8168cf82c5
commit dd194d41be

@ -138,9 +138,7 @@ namespace NzbDrone.Core.MediaFiles
_mediaFileAttributeService.SetFilePermissions(destinationFilePath); _mediaFileAttributeService.SetFilePermissions(destinationFilePath);
_diskProvider.DeleteFolder(oldMoviePath, true);
if(oldMoviePath != newMoviePath)
_diskProvider.DeleteFolder(oldMoviePath, true);
return movieFile; return movieFile;
} }

Loading…
Cancel
Save