Remove unused PurgeInactive methods

This commit is contained in:
Deluan
2020-01-20 08:16:22 -05:00
parent c661ac8833
commit 6785d616d0
11 changed files with 0 additions and 95 deletions
-7
View File
@@ -179,13 +179,6 @@ func (r *artistRepository) SetStar(starred bool, ids ...string) error {
return err
}
func (r *artistRepository) PurgeInactive(activeList model.Artists) error {
_, err := r.purgeInactive(activeList, func(item interface{}) string {
return item.(model.Artist).ID
})
return err
}
func (r *artistRepository) PurgeEmpty() error {
_, err := r.ormer.Raw("delete from artist where id not in (select distinct(artist_id) from album)").Exec()
return err