mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
Fixed: Collections not deleted on Movie Delete
This commit is contained in:
@@ -122,7 +122,7 @@ namespace NzbDrone.Core.Movies.Collections
|
|||||||
|
|
||||||
var collection = FindByTmdbId(collectionTmdbId);
|
var collection = FindByTmdbId(collectionTmdbId);
|
||||||
|
|
||||||
_repo.Delete(collectionTmdbId);
|
_repo.Delete(collection.Id);
|
||||||
|
|
||||||
_eventAggregator.PublishEvent(new CollectionDeletedEvent(collection));
|
_eventAggregator.PublishEvent(new CollectionDeletedEvent(collection));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user