Delete unreferenced artists after updating artwork

Also clean up ArtistAlternateSpellings at the same time we delete an artist
This commit is contained in:
Mike Colagrosso 2024-01-16 20:46:26 -07:00 committed by Alex Cabal
parent 8b62a9130c
commit 60c6142688
2 changed files with 22 additions and 0 deletions

View file

@ -731,6 +731,8 @@ class Artwork extends PropertiesBase{
$this->ArtworkId]
);
Artist::DeleteUnreferencedArtists();
Db::Query('
DELETE FROM ArtworkTags
WHERE