mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 14:55:20 -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);
|
_mediaFileAttributeService.SetFilePermissions(destinationFilePath);
|
||||||
|
|
||||||
|
_diskProvider.DeleteFolder(oldMoviePath, true);
|
||||||
if(oldMoviePath != newMoviePath)
|
|
||||||
_diskProvider.DeleteFolder(oldMoviePath, true);
|
|
||||||
|
|
||||||
return movieFile;
|
return movieFile;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue