PlaylistSong: remove the IsInDatabase() check
No caller passes a database song to this function, but if he does, this check doesn't make sense.
This commit is contained in:
parent
414d5b648c
commit
501f1e6de0
|
@ -99,10 +99,6 @@ DetachedSong *
|
|||
playlist_check_translate_song(DetachedSong *song, const char *base_uri,
|
||||
bool secure)
|
||||
{
|
||||
if (song->IsInDatabase())
|
||||
/* already ok */
|
||||
return song;
|
||||
|
||||
const char *uri = song->GetURI();
|
||||
|
||||
if (uri_has_scheme(uri)) {
|
||||
|
|
Loading…
Reference in New Issue