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
@@ -170,13 +170,6 @@ func (r *mediaFileRepository) MarkAsPlayed(id string, playDate time.Time) error
return err
}
func (r *mediaFileRepository) PurgeInactive(activeList model.MediaFiles) error {
_, err := r.purgeInactive(activeList, func(item interface{}) string {
return item.(model.MediaFile).ID
})
return err
}
func (r *mediaFileRepository) Search(q string, offset int, size int) (model.MediaFiles, error) {
if len(q) <= 2 {
return nil, nil